diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-03-08 19:03:24 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-03-08 19:03:24 +0000 |
commit | d6d2b22d12930fb0d5c3b7bcf0dc5b7b90655e1f (patch) | |
tree | 79e82b3089965f38eec933912ab682fb1452202b /deployment/releasekey | |
parent | d312b4b531dbbbe171364489cbc5d7482763a496 (diff) | |
download | puppet-d6d2b22d12930fb0d5c3b7bcf0dc5b7b90655e1f.tar puppet-d6d2b22d12930fb0d5c3b7bcf0dc5b7b90655e1f.tar.gz puppet-d6d2b22d12930fb0d5c3b7bcf0dc5b7b90655e1f.tar.bz2 puppet-d6d2b22d12930fb0d5c3b7bcf0dc5b7b90655e1f.tar.xz puppet-d6d2b22d12930fb0d5c3b7bcf0dc5b7b90655e1f.zip |
fix user creation
Diffstat (limited to 'deployment/releasekey')
-rw-r--r-- | deployment/releasekey/manifests/init.pp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/deployment/releasekey/manifests/init.pp b/deployment/releasekey/manifests/init.pp index aec44cf1..8e5ea501 100644 --- a/deployment/releasekey/manifests/init.pp +++ b/deployment/releasekey/manifests/init.pp @@ -6,10 +6,18 @@ class releasekey { } class base inherits variable { - sshuser { $sign_login: - homedir => $sign_home_dir, + group {"$sign_login": + ensure => present, + } + + user {"$sign_login": + ensure => present, comment => "System user to sign Mageia Releases", - groups => [$sched_login], + managehome => true, + home => $sign_home_dir, + gid => $sign_login, + shell => "/bin/bash", + require => Group[$sign_login], } gnupg::keys{"release": |