/[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 349 - (hide annotations) (download)
Sun Nov 21 17:34:53 2010 UTC (13 years, 5 months ago) by blino
File size: 1478 byte(s)
force build user group to previously created group

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

  ViewVC Help
Powered by ViewVC 1.1.30