Move podman-compose from bin in users homedir to /usr/local/bin
This commit is contained in:
parent
83dde57c6d
commit
954fe43594
|
@ -19,6 +19,16 @@ class podmanrunner::runner (
|
||||||
provider => apt,
|
provider => apt,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { "/usr/local/bin/podman-compose":
|
||||||
|
ensure => file,
|
||||||
|
mode => '0555',
|
||||||
|
source => 'puppet:///modules/podmanrunner/podman-compose',
|
||||||
|
owner => "root",
|
||||||
|
group => "root",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
range(1,$replicas).each |$x| {
|
range(1,$replicas).each |$x| {
|
||||||
|
|
||||||
user { "${username}${x}":
|
user { "${username}${x}":
|
||||||
|
@ -37,20 +47,6 @@ class podmanrunner::runner (
|
||||||
mode => '0400',
|
mode => '0400',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/opt/${username}${x}/bin":
|
|
||||||
ensure => directory,
|
|
||||||
mode => '0700',
|
|
||||||
owner => "${username}${x}",
|
|
||||||
group => "${username}${x}",
|
|
||||||
}
|
|
||||||
|
|
||||||
file { "/opt/${username}${x}/bin/podman-compose":
|
|
||||||
ensure => file,
|
|
||||||
mode => '0500',
|
|
||||||
source => 'puppet:///modules/podmanrunner/podman-compose',
|
|
||||||
owner => "${username}${x}",
|
|
||||||
group => "${username}${x}",
|
|
||||||
}
|
|
||||||
|
|
||||||
file { "/opt/${username}${x}/runnerimage":
|
file { "/opt/${username}${x}/runnerimage":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
|
|
Loading…
Reference in a new issue