Add podman-compose version 1.0.6 and package systemd-container
This commit is contained in:
parent
f6bbad824e
commit
edfc201cc2
2945
files/podman-compose
Normal file
2945
files/podman-compose
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
|||
Test
|
|
@ -14,30 +14,31 @@ class podmanrunner::runner (
|
|||
ensure => installed,
|
||||
provider => apt,
|
||||
}
|
||||
file { '/opt/podmanuser/docker-compose.yaml':
|
||||
|
||||
package { 'systemd-container':
|
||||
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',
|
||||
}
|
||||
|
||||
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',
|
||||
}
|
||||
file { '/tmp/test.txt':
|
||||
ensure => file,
|
||||
mode => '444',
|
||||
source => 'puppet:///podmanrunner/testfile.txt',
|
||||
source => 'puppet:///modules/podmanrunner/podman-compose',
|
||||
owner => 'podmanuser',
|
||||
group => 'podmanuser',
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue