/[adm]/puppet/manifests/nodes.pp
ViewVC logotype

Diff of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by boklm, Fri Oct 15 15:34:08 2010 UTC revision 68 by blino, Sun Oct 31 19:35:57 2010 UTC
# Line 1  Line 1 
1  node basenode {  # svn, big important server
2    node valstar {
3    # Location: IELO datacenter (marseille)
4    #
5    # TODO:
6    # - SVN server
7    # - GIT server
8    # - setup urli build scheduler
9    # - setup youri
10    # - setup restricted shell access to allow "mdvsys submit" to work
11    # - setup maintainers database (with web interface)
12    # - mirroring (Nanar)
13    # - LDAP master
14    #
15        include default_mageia_server
16        timezone::timezone { "Europe/Paris": }
17        include rsyncd
18        include mirror
19        include openldap::master
20    
21        # for puppet svn checkout
22        package {"subversion":
23            ensure => "installed"
24        }
25    
26        # svn spam log with
27        # Oct 26 13:30:01 valstar svn: No worthy mechs found
28        # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html
29        #
30        package {"lib64sasl2-plug-anonymous":
31            ensure => "installed"
32        }
33    
34        # update the puppet snapshot
35        cron { puppet_update:
36               command => "cd /etc/puppet && /usr/bin/svn update -q",
37               user => root,
38               minute => '*/5'
39        }
40    
41        exec { puppet_etc:
42            cwd => "/etc/",
43            command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/",
44            user => "root",
45            creates => "/etc/puppet/manifests/site.pp"
46        }
47    
48        package {"puppet-server":
49            ensure => "installed"
50        }
51    
52        package {"task-bs-cluster-main":
53            ensure => "installed"
54        }
55    }
56    
57    # web apps
58    node alamut {
59    # Location: IELO datacenter (marseille)
60    #
61    # TODO:
62    # - bugzilla
63    # - nagios
64    # - api
65    # - mail server
66    # - mailing list server
67    # - wiki
68    # - pastbin
69    # - LDAP slave
70    # - transifex
71    # - SQL server
72    #
73            include default_mageia_server
74        include bind::bind_master
75        include postgresql
76        bind::zone_master { "mageia.org": }
77        bind::zone_master { "mageia.fr": }
78        timezone::timezone { "Europe/Paris": }
79  }  }
80    
81  node "mx2" inherits {  # buildnode
82    node jonund {
83    # Location: IELO datacenter (marseille)
84    #
85    # TODO:
86    # - iurt
87    #
88            include default_mageia_server
89        timezone::timezone { "Europe/Paris": }
90    }
91    
92    node ecosse {
93    # Location: IELO datacenter (marseille)
94    #
95    # TODO:
96    # - iurt
97    #
98            include default_mageia_server
99        timezone::timezone { "Europe/Paris": }
100  }  }
101    
102    
103    # backup server
104    node fiona {
105    # Location: IELO datacenter (marseille)
106    #
107    # TODO:
108    # - buy the server
109    # - install the server in datacenter
110    #
111            include default_mageia_server
112    }
113    
114    # gandi-vm
115    node krampouezh {
116    # Location: gandi VM
117    #
118    # TODO:
119    # - secondary MX
120    # - LDAP slave (for external traffic maybe)
121    #
122            include default_mageia_server
123        include bind::bind_slave
124        timezone::timezone { "Europe/Paris": }
125    # Other services running on this server :
126    # - meetbot
127    }
128    
129    node champagne {
130    # Location: gandi VM
131    #
132    # TODO:
133    # - setup mageia.org web site
134    # - setup blog
135    #
136            include default_mageia_server
137    }
138    
139    

Legend:
Removed from v.3  
changed lines
  Added in v.68

  ViewVC Help
Powered by ViewVC 1.1.30