Install podman and create dummy docker-compose.yaml

This commit is contained in:
Magnus Andersson 2024-01-18 15:39:26 +01:00
parent 58def32b14
commit c435320374
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16
2 changed files with 11 additions and 0 deletions

View file

@ -10,4 +10,15 @@ class podmanrunner::runner (
uid => '1001',
managehome => true,
}
package { 'podman':
ensure => installed,
provider => apt,
}
file { '/opt/podmanuser/docker-compose.yaml':
ensure => file,
content => template('podmanrunner/docker-compose.yaml.erb'),
owner => 'podmanuser',
group => 'podmanuser',
mode => '0600',
}
}