aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-04-18 09:41:37 +0000
committerNicolas Vigier <boklm@mageia.org>2011-04-18 09:41:37 +0000
commit94c052947a9281de4b91cda9f305dd958cdf1809 (patch)
tree81ade6909dc10d628b0692c77a8b025bfb53907d /modules
parent9d71d8fe7060ead05d58d4ce99accdf55b3ca61e (diff)
downloadpuppet-94c052947a9281de4b91cda9f305dd958cdf1809.tar
puppet-94c052947a9281de4b91cda9f305dd958cdf1809.tar.gz
puppet-94c052947a9281de4b91cda9f305dd958cdf1809.tar.bz2
puppet-94c052947a9281de4b91cda9f305dd958cdf1809.tar.xz
puppet-94c052947a9281de4b91cda9f305dd958cdf1809.zip
add software GPG key
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index d2dae545..0e273e93 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -89,6 +89,15 @@ class buildsystem {
keydir => $sign_keydir,
}
+ gnupg::keys{"software":
+ email => "software@$domain",
+ #FIXME there should be a variable somewhere to change the name of the distribution
+ key_name => 'Mageia Software',
+ login => $sign_login,
+ batchdir => "$sign_home_dir/batches",
+ keydir => $sign_keydir,
+ }
+
sudo::sudoers_config { "signpackage":
content => template("buildsystem/sudoers.signpackage")
}