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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1295 - (show annotations) (download)
Tue Mar 8 18:12:27 2011 UTC (12 years, 6 months ago) by boklm
File size: 663 byte(s)
add releasekey module
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 sshuser { $sign_login:
10 homedir => $sign_home_dir,
11 comment => "System user to sign Mageia Releases",
12 groups => [$sched_login],
13 }
14
15 gnupg::keys{"release":
16 email => "release@$domain",
17 #FIXME there should be a variable somewhere to change the name of the distribution
18 key_name => 'Mageia Release',
19 login => $sign_login,
20 batchdir => "$sign_home_dir/batches",
21 keydir => $sign_keydir,
22 require => Sshuser[$sign_login],
23 }
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.28