summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-09-30 17:56:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-09-30 17:56:21 -0300
commit70ff981f40ef870e27536d34623e19a56c402c76 (patch)
treebf26f982e3ff2c4a15d85efc79945ff408d11fe5
parent74c942095a5300605b9f9883d2cba7c72206971b (diff)
downloadpuppet-user-master.tar.gz
puppet-user-master.tar.bz2
Fix selectorHEADmaster
-rw-r--r--manifests/manage.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/manage.pp b/manifests/manage.pp
index becd2e2..843d88f 100644
--- a/manifests/manage.pp
+++ b/manifests/manage.pp
@@ -67,9 +67,9 @@ define user::manage(
owner => $name,
mode => $homedir_mode,
group => $gid ? {
- 'uid' => $name,
- 'absent' => $name,
- 'default' => $gid,
+ 'uid' => $name,
+ 'absent' => $name,
+ default => $gid,
},
}
}
@@ -84,9 +84,9 @@ define user::manage(
mode => $homedir_mode,
require => User[$name],
group => $gid ? {
- 'uid' => $name,
- 'absent' => $name,
- 'default' => $gid,
+ 'uid' => $name,
+ 'absent' => $name,
+ default => $gid,
},
}
}