/[adm]/puppet/modules/buildsystem/manifests/init.pp
ViewVC logotype

Annotation of /puppet/modules/buildsystem/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 218 - (hide annotations) (download)
Tue Nov 9 23:02:34 2010 UTC (13 years, 5 months ago) by boklm
File size: 1286 byte(s)
fix path name (iurt module renamed to buildsystem)
1 misc 213 class buildsystem {
2 dmorgan 86
3 misc 213 class buildnode {
4     include iurt
5 dmorgan 86 }
6    
7 misc 213 class iurt {
8 boklm 216 include sudo
9 misc 213
10     $home_dir = "/home/buildbot/"
11     $build_login = "buildbot"
12     # build node common settings
13     # we could have the following skip list to use less space:
14     # '/(drakx-installer-binaries|drakx-installer-advertising|gfxboot|drakx-installer-stage2|mandriva-theme)/'
15     $package_list = ['task-bs-cluster-chroot', 'iurt']
16     package { $package_list:
17     ensure => installed;
18     }
19    
20     file { "$home_dir/.iurt.cauldron.conf":
21     ensure => present,
22     owner => $build_login,
23     group => $build_login,
24     mode => 644,
25 boklm 218 content => template("buildsystem/iurt.cauldron.conf")
26 misc 213 }
27    
28 boklm 216 file { "/etc/sudoers.d/iurt":
29     ensure => present,
30     owner => root,
31     group => root,
32     mode => 600,
33 boklm 218 content => template("buildsystem/sudoers.iurt")
34 boklm 216 }
35    
36 misc 213 group {"$build_login":
37     ensure => present,
38     }
39    
40     user {"$build_login":
41     ensure => present,
42 boklm 217 comment => "System user use to run build bots",
43 misc 213 managehome => true,
44     shell => "/bin/bash",
45     }
46 dmorgan 86 }
47     }

  ViewVC Help
Powered by ViewVC 1.1.30