diff options
-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": |