diff --git a/manifests/runner.pp b/manifests/runner.pp index b61898d..d2a4ad3 100644 --- a/manifests/runner.pp +++ b/manifests/runner.pp @@ -63,11 +63,13 @@ class podmanrunner::runner ( mode => '0400', } - file { "/opt/${username}${x}/runnerdata": - ensure => directory, - mode => '0700', - #owner => "${username}${x}", - #group => "${username}${x}", + unless File["/opt/${username}${x}/runnerdata"] { + file { "/opt/${username}${x}/runnerdata": + ensure => directory, + mode => '0700', + owner => "${username}${x}", + group => "${username}${x}", + } } file { "/opt/${username}${x}/runnerdata/config.yml":