summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-31 11:27:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-31 11:27:10 -0300
commit8181f1d8311fc176ac39f834fbaedef012059fca (patch)
tree9fca6a0732505d512859a4a81bd04f03e2bc2e0a
parent64eb598c4d35ab031c164f7e43fc435877f2ebcf (diff)
downloadpuppet-user-8181f1d8311fc176ac39f834fbaedef012059fca.tar.gz
puppet-user-8181f1d8311fc176ac39f834fbaedef012059fca.tar.bz2
Coding style
-rw-r--r--manifests/manage.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/manage.pp b/manifests/manage.pp
index 76becf3..6cf9807 100644
--- a/manifests/manage.pp
+++ b/manifests/manage.pp
@@ -54,16 +54,16 @@ define user::manage(
if $managehome == true {
if $ensure == 'absent' {
file{"$real_homedir":
- ensure => absent,
- purge => true,
- force => true,
+ ensure => absent,
+ purge => true,
+ force => true,
recurse => true,
}
} else {
file{"$real_homedir":
- ensure => directory,
+ ensure => directory,
require => User[$name],
- owner => $name, mode => $homedir_mode;
+ owner => $name, mode => $homedir_mode;
}
case $gid {
'absent','uid': {