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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 265 - (show annotations) (download)
Wed Nov 17 15:35:10 2010 UTC (13 years, 5 months ago) by misc
File size: 1453 byte(s)
- add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )
1 class buildsystem {
2
3 class buildnode {
4 include iurt
5 }
6
7 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 class iurt {
24 include sudo
25
26 $home_dir = "/home/buildbot/"
27 $build_login = "buildbot"
28 # 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 content => template("buildsystem/iurt.cauldron.conf")
42 }
43
44 file { "/etc/sudoers.d/iurt":
45 ensure => present,
46 owner => root,
47 group => root,
48 mode => 440,
49 content => template("buildsystem/sudoers.iurt")
50 }
51
52 group {"$build_login":
53 ensure => present,
54 }
55
56 user {"$build_login":
57 ensure => present,
58 comment => "System user use to run build bots",
59 managehome => true,
60 shell => "/bin/bash",
61 }
62 }
63 }

  ViewVC Help
Powered by ViewVC 1.1.30