Try an other approach to check if dir exist
This commit is contained in:
parent
95eaa192ba
commit
83df7a7757
|
@ -63,7 +63,7 @@ class podmanrunner::runner (
|
||||||
mode => '0400',
|
mode => '0400',
|
||||||
}
|
}
|
||||||
|
|
||||||
unless File["/opt/${username}${x}/runnerdata"] {
|
unless find_file("/opt/${username}${x}/runnerdata") {
|
||||||
file { "/opt/${username}${x}/runnerdata":
|
file { "/opt/${username}${x}/runnerdata":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0700',
|
mode => '0700',
|
||||||
|
|
Loading…
Reference in a new issue