Replaced some exec tests with creates parameter

This commit is contained in:
Ossi Salmi 2011-04-15 15:44:52 +03:00 committed by Timo Mkinen
parent 64f15fc9b9
commit 1c051a1e2b
3 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ class user::virtual {
command => "umask 077; mkdir -p ${home} && tar cf - . | tar xf - -C ${home} && chown -R ${uid}:${gid} ${home}",
cwd => "/etc/skel",
path => "/sbin:/usr/sbin:/bin:/usr/bin",
unless => "test -d ${home}",
creates => "${home}",
refreshonly => true,
}