diff --git a/manifests/runner.pp b/manifests/runner.pp index b8dad86..0362b7a 100644 --- a/manifests/runner.pp +++ b/manifests/runner.pp @@ -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', + } } diff --git a/templates/docker-compose.yaml b/templates/docker-compose.yaml.erb similarity index 100% rename from templates/docker-compose.yaml rename to templates/docker-compose.yaml.erb