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,6 +14,12 @@ class podmanrunner::runner (
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
provider => apt,
|
provider => apt,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package { 'systemd-container':
|
||||||
|
ensure => installed,
|
||||||
|
provider => apt,
|
||||||
|
}
|
||||||
|
|
||||||
file { '/opt/podmanuser/docker-compose.yaml':
|
file { '/opt/podmanuser/docker-compose.yaml':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => template('podmanrunner/docker-compose.yaml.erb'),
|
content => template('podmanrunner/docker-compose.yaml.erb'),
|
||||||
|
@ -21,23 +27,18 @@ class podmanrunner::runner (
|
||||||
group => 'podmanuser',
|
group => 'podmanuser',
|
||||||
mode => '0600',
|
mode => '0600',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/opt/podmanuser/bin':
|
file { '/opt/podmanuser/bin':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0700',
|
mode => '0700',
|
||||||
owner => 'podmanuser',
|
owner => 'podmanuser',
|
||||||
group => 'podmanuser',
|
group => 'podmanuser',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/opt/podmanuser/bin/podman-compose':
|
file { '/opt/podmanuser/bin/podman-compose':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '500',
|
mode => '500',
|
||||||
source => 'https://raw.githubusercontent.com/containers/podman-compose/v1.0.6/podman_compose.py',
|
source => 'puppet:///modules/podmanrunner/podman-compose',
|
||||||
owner => 'podmanuser',
|
|
||||||
group => 'podmanuser',
|
|
||||||
}
|
|
||||||
file { '/tmp/test.txt':
|
|
||||||
ensure => file,
|
|
||||||
mode => '444',
|
|
||||||
source => 'puppet:///podmanrunner/testfile.txt',
|
|
||||||
owner => 'podmanuser',
|
owner => 'podmanuser',
|
||||||
group => 'podmanuser',
|
group => 'podmanuser',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue