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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.28