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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2199 - (hide annotations) (download)
Sun Jan 8 20:24:58 2012 UTC (13 years, 1 month ago) by misc
File size: 723 byte(s)
add defaults values for user created by puppet, to remove duplication
1 boklm 1525 class softwarekey {
2 boklm 1295 class variable {
3 boklm 1525 $sign_login = "softwarekey"
4 boklm 1295 $sign_home_dir = "/var/lib/$sign_login"
5     $sign_keydir = "$sign_home_dir/keys"
6     }
7    
8     class base inherits variable {
9 misc 2199 group {"$sign_login": }
10 boklm 1298
11     user {"$sign_login":
12 boklm 1525 comment => "System user to sign Mageia Software",
13 boklm 1298 home => $sign_home_dir,
14     gid => $sign_login,
15     require => Group[$sign_login],
16 boklm 1295 }
17    
18 boklm 1525 gnupg::keys{"software":
19     email => "software@$domain",
20 boklm 1295 #FIXME there should be a variable somewhere to change the name of the distribution
21 boklm 1525 key_name => 'Mageia Software',
22 boklm 1295 login => $sign_login,
23     batchdir => "$sign_home_dir/batches",
24     keydir => $sign_keydir,
25 boklm 1299 require => User[$sign_login],
26 boklm 1295 }
27     }
28     }

  ViewVC Help
Powered by ViewVC 1.1.30