/[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 350 - (hide annotations) (download)
Sun Nov 21 17:42:09 2010 UTC (13 years, 5 months ago) by blino
File size: 1592 byte(s)
move task-bs-cluster-main dep in buildsystem::mainnode
1 misc 213 class buildsystem {
2 dmorgan 86
3 blino 350 class mainnode {
4     package { "task-bs-cluster-main":
5     ensure => "installed"
6     }
7     }
8    
9 misc 213 class buildnode {
10     include iurt
11 dmorgan 86 }
12    
13 misc 265 class scheduler {
14     # ulri
15     }
16    
17     class dispatcher {
18     # emi
19     }
20    
21     class repsys {
22     package { 'repsys':
23    
24     }
25    
26    
27     }
28    
29 misc 213 class iurt {
30 boklm 216 include sudo
31 misc 213
32 blino 348 $home_dir = "/home/iurt/"
33     $build_login = "iurt"
34 misc 213 # build node common settings
35     # we could have the following skip list to use less space:
36     # '/(drakx-installer-binaries|drakx-installer-advertising|gfxboot|drakx-installer-stage2|mandriva-theme)/'
37     $package_list = ['task-bs-cluster-chroot', 'iurt']
38     package { $package_list:
39     ensure => installed;
40     }
41    
42     file { "$home_dir/.iurt.cauldron.conf":
43     ensure => present,
44     owner => $build_login,
45     group => $build_login,
46     mode => 644,
47 boklm 218 content => template("buildsystem/iurt.cauldron.conf")
48 misc 213 }
49    
50 boklm 216 file { "/etc/sudoers.d/iurt":
51     ensure => present,
52     owner => root,
53     group => root,
54 boklm 219 mode => 440,
55 boklm 218 content => template("buildsystem/sudoers.iurt")
56 boklm 216 }
57    
58 misc 213 group {"$build_login":
59     ensure => present,
60     }
61    
62     user {"$build_login":
63     ensure => present,
64 boklm 217 comment => "System user use to run build bots",
65 misc 213 managehome => true,
66 blino 349 gid => $build_login,
67 misc 213 shell => "/bin/bash",
68     }
69 dmorgan 86 }
70     }

  ViewVC Help
Powered by ViewVC 1.1.30