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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3254 - (hide annotations) (download)
Wed Jun 19 19:15:59 2013 UTC (10 years, 10 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 boklm 1295 class releasekey {
2 misc 2648 $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 boklm 1295 }
13    
14 misc 2648 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 boklm 1298
24 boklm 3254 mga_common::local_script { 'sign_checksums':
25 misc 2648 content => template('releasekey/sign_checksums'),
26 boklm 1295 }
27     }

  ViewVC Help
Powered by ViewVC 1.1.30