Only let puppet manage runnerdata resource if it does not exist
This commit is contained in:
parent
47bb899065
commit
95eaa192ba
|
@ -63,11 +63,13 @@ class podmanrunner::runner (
|
||||||
mode => '0400',
|
mode => '0400',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unless File["/opt/${username}${x}/runnerdata"] {
|
||||||
file { "/opt/${username}${x}/runnerdata":
|
file { "/opt/${username}${x}/runnerdata":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0700',
|
mode => '0700',
|
||||||
#owner => "${username}${x}",
|
owner => "${username}${x}",
|
||||||
#group => "${username}${x}",
|
group => "${username}${x}",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/opt/${username}${x}/runnerdata/config.yml":
|
file { "/opt/${username}${x}/runnerdata/config.yml":
|
||||||
|
|
Loading…
Reference in a new issue