Replaced some exec tests with creates parameter
This commit is contained in:
parent
64f15fc9b9
commit
1c051a1e2b
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue