Add podman-compose to user bin dir

This commit is contained in:
Magnus Andersson 2024-01-18 16:03:40 +01:00
parent c435320374
commit 7dbebff41f
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -21,4 +21,17 @@ class podmanrunner::runner (
group => 'podmanuser',
mode => '0600',
}
file { '/opt/podmanuser/bin':
ensure => directory,
mode => '0700',
owner => 'podmanuser',
group => 'podmanuser',
}
file { '/opt/podmanuser/bin/podman-compose':
ensure => file,
mode => '500',
source => 'https://raw.githubusercontent.com/containers/podman-compose/v1.0.6/podman_compose.py',
owner => 'podmanuser',
group => 'podmanuser',
}
}