/[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 3254 - (show annotations) (download)
Wed Jun 19 19:15:59 2013 UTC (11 years, 3 months ago) by boklm
File size: 830 byte(s)
Rename mga-common module to mga_common.

New puppet version doesn't like modules with a - in their name.
1 class releasekey {
2 $sign_login = 'releasekey'
3 $sign_home_dir = "/var/lib/$sign_login"
4 $sign_keydir = "$sign_home_dir/keys"
5 group { $sign_login: }
6
7 user { $sign_login:
8 comment => 'System user to sign Mageia Releases',
9 home => $sign_home_dir,
10 gid => $sign_login,
11 require => Group[$sign_login],
12 }
13
14 gnupg::keys{ 'release':
15 email => "release@$::domain",
16 #FIXME there should be a variable somewhere to change the name of the distribution
17 key_name => 'Mageia Release',
18 login => $sign_login,
19 batchdir => "$sign_home_dir/batches",
20 keydir => $sign_keydir,
21 require => User[$sign_login],
22 }
23
24 mga_common::local_script { 'sign_checksums':
25 content => template('releasekey/sign_checksums'),
26 }
27 }

  ViewVC Help
Powered by ViewVC 1.1.30