aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-09 15:01:12 +0000
committerMichael Scherer <misc@mageia.org>2010-11-09 15:01:12 +0000
commite6e97d7218a4a60cc13ae9a07377b3e78c7c90ca (patch)
treee6fa8ff3ff25eadfe39aea5c57740a8250055264 /modules/buildsystem/manifests
parentcfcfba74901f99fc55447292b5116b1bbd6f47ce (diff)
downloadpuppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar
puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar.gz
puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar.bz2
puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.tar.xz
puppet-e6e97d7218a4a60cc13ae9a07377b3e78c7c90ca.zip
- rename iurt to buildsystem
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r--modules/buildsystem/manifests/init.pp38
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
new file mode 100644
index 00000000..0cc24ed4
--- /dev/null
+++ b/modules/buildsystem/manifests/init.pp
@@ -0,0 +1,38 @@
+class buildsystem {
+
+ class buildnode {
+ include iurt
+ }
+
+ class iurt {
+
+ $home_dir = "/home/buildbot/"
+ $build_login = "buildbot"
+ # build node common settings
+ # we could have the following skip list to use less space:
+ # '/(drakx-installer-binaries|drakx-installer-advertising|gfxboot|drakx-installer-stage2|mandriva-theme)/'
+ $package_list = ['task-bs-cluster-chroot', 'iurt']
+ package { $package_list:
+ ensure => installed;
+ }
+
+ file { "$home_dir/.iurt.cauldron.conf":
+ ensure => present,
+ owner => $build_login,
+ group => $build_login,
+ mode => 644,
+ content => template("iurt/iurt.cauldron.conf")
+ }
+
+ group {"$build_login":
+ ensure => present,
+ }
+
+ user {"$build_login":
+ ensure => present,
+ comment => "System user use to run build bots"
+ managehome => true,
+ shell => "/bin/bash",
+ }
+ }
+}