/[adm]/puppet/deployment/releasekey/manifests/init.pp
ViewVC logotype

Contents of /puppet/deployment/releasekey/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1298 - (show annotations) (download)
Tue Mar 8 19:03:24 2011 UTC (13 years, 4 months ago) by boklm
File size: 815 byte(s)
fix user creation
1 class releasekey {
2 class variable {
3 $sign_login = "releasekey"
4 $sign_home_dir = "/var/lib/$sign_login"
5 $sign_keydir = "$sign_home_dir/keys"
6 }
7
8 class base inherits variable {
9 group {"$sign_login":
10 ensure => present,
11 }
12
13 user {"$sign_login":
14 ensure => present,
15 comment => "System user to sign Mageia Releases",
16 managehome => true,
17 home => $sign_home_dir,
18 gid => $sign_login,
19 shell => "/bin/bash",
20 require => Group[$sign_login],
21 }
22
23 gnupg::keys{"release":
24 email => "release@$domain",
25 #FIXME there should be a variable somewhere to change the name of the distribution
26 key_name => 'Mageia Release',
27 login => $sign_login,
28 batchdir => "$sign_home_dir/batches",
29 keydir => $sign_keydir,
30 require => Sshuser[$sign_login],
31 }
32 }
33 }

  ViewVC Help
Powered by ViewVC 1.1.30