diff --git a/manifests/chroot/manual.pp b/manifests/chroot/manual.pp index ba5b0e9..cbc2c84 100644 --- a/manifests/chroot/manual.pp +++ b/manifests/chroot/manual.pp @@ -4,7 +4,7 @@ class bind::chroot::manual( exec { 'mkdir-p-$chroot_dir': command => "mkdir -p ${::bind::defaults::chroot_dir}", path => ['/bin', '/usr/bin'], - unless => "test -d ${::bind::defaults::chroot_dir}", + creates => "${::bind::defaults::chroot_dir}", } # Creating system dirs under chroot dir: file { ["${::bind::defaults::chroot_dir}",