aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-07 12:06:01 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-07 12:06:01 +0000
commit8f8d5a78a318787329d4103480abcb1051163073 (patch)
treeb29ea4b7de7fb8ab113a252f36cf6ca321791f91 /modules
parent1dd408be9bf436cffb00a0f2bb95cce5ef33c107 (diff)
downloadpuppet-8f8d5a78a318787329d4103480abcb1051163073.tar
puppet-8f8d5a78a318787329d4103480abcb1051163073.tar.gz
puppet-8f8d5a78a318787329d4103480abcb1051163073.tar.bz2
puppet-8f8d5a78a318787329d4103480abcb1051163073.tar.xz
puppet-8f8d5a78a318787329d4103480abcb1051163073.zip
create packages key
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/init.pp24
1 files changed, 18 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index c153211e..4b360f51 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -28,12 +28,6 @@ class buildsystem {
comment => "System user used to schedule builds",
}
- sshuser { $sign_login:
- homedir => $sign_home_dir,
- comment => "System user used to sign packages",
- groups => [$sched_login],
- }
-
ssh::auth::client { $sched_login: }
ssh::auth::server { $sched_login: }
ssh::auth::server { $build_login: }
@@ -57,12 +51,30 @@ class buildsystem {
include mgarepo
include youri_submit
include check_missing_deps
+ include signbot
}
class buildnode inherits base {
include iurt
}
+ class signbot {
+ sshuser { $sign_login:
+ homedir => $sign_home_dir,
+ comment => "System user used to sign packages",
+ groups => [$sched_login],
+ }
+
+ gnupg::keys{"packages":
+ email => "packages@$domain",
+ #FIXME there should be a variable somewhere to change the name of the distribution
+ key_name => 'Mageia Packages',
+ login => $sign_login,
+ batchdir => "$sign_home_dir/batches",
+ keydir => "$sign_home_dir/keys",
+ }
+ }
+
class scheduler {
# ulri
include iurtupload