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

Contents of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92 - (show annotations) (download)
Thu Nov 4 16:58:53 2010 UTC (13 years, 11 months ago) by misc
File size: 2999 byte(s)
- deploy catdap ( 1st try )
---Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    manifests/nodes.pp

1 # 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 file { "extdata":
49 path => "/etc/puppet/extdata",
50 ensure => directory,
51 owner => puppet,
52 group => puppet,
53 mode => 700,
54 recurse => true
55 }
56
57 package {"puppet-server":
58 ensure => "installed"
59 }
60
61 package {"task-bs-cluster-main":
62 ensure => "installed"
63 }
64 }
65
66 # web apps
67 node alamut {
68 # Location: IELO datacenter (marseille)
69 #
70 # TODO:
71 # - bugzilla
72 # - nagios
73 # - api
74 # - mail server
75 # - mailing list server
76 # - wiki
77 # - pastbin
78 # - LDAP slave
79 # - transifex
80 # - SQL server
81 #
82 include default_mageia_server
83 include bind::bind_master
84 include postgresql
85 bind::zone_master { "mageia.org": }
86 bind::zone_master { "mageia.fr": }
87 timezone::timezone { "Europe/Paris": }
88
89 include catdap
90 }
91
92 # buildnode
93 node jonund {
94 # Location: IELO datacenter (marseille)
95 #
96 include default_mageia_server
97 include iurt
98 timezone::timezone { "Europe/Paris": }
99 }
100
101 node ecosse {
102 # Location: IELO datacenter (marseille)
103 #
104 include default_mageia_server
105 include iurt
106 timezone::timezone { "Europe/Paris": }
107 }
108
109
110 # backup server
111 node fiona {
112 # Location: IELO datacenter (marseille)
113 #
114 # TODO:
115 # - buy the server
116 # - install the server in datacenter
117 #
118 include default_mageia_server
119 }
120
121 # gandi-vm
122 node krampouezh {
123 # Location: gandi VM
124 #
125 # TODO:
126 # - secondary MX
127 # - LDAP slave (for external traffic maybe)
128 #
129 include default_mageia_server
130 include bind::bind_master
131 bind::zone_master { "mageia.org": }
132 bind::zone_master { "mageia.fr": }
133 timezone::timezone { "Europe/Paris": }
134 # Other services running on this server :
135 # - meetbot
136 }
137
138 node champagne {
139 # Location: gandi VM
140 #
141 # TODO:
142 # - setup mageia.org web site
143 # - setup blog
144 #
145 include default_mageia_server
146 include apache::base
147 }
148
149

  ViewVC Help
Powered by ViewVC 1.1.30