From c43532037486b2e0d79df856c4b428dcba8dd59d Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Thu, 18 Jan 2024 15:39:26 +0100 Subject: [PATCH] Install podman and create dummy docker-compose.yaml --- manifests/runner.pp | 11 +++++++++++ .../{docker-compose.yaml => docker-compose.yaml.erb} | 0 2 files changed, 11 insertions(+) rename templates/{docker-compose.yaml => docker-compose.yaml.erb} (100%) 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