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

Contents of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (show annotations) (download)
Thu Nov 4 01:19:58 2010 UTC (13 years, 5 months ago) by misc
File size: 2883 byte(s)
- install apache on alamut and krampoueh 

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 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 # for catdap and epoll
80 include apache::mod_perl
81 }
82
83 # buildnode
84 node jonund {
85 # Location: IELO datacenter (marseille)
86 #
87 include default_mageia_server
88 include default_mageia_buildnode
89 timezone::timezone { "Europe/Paris": }
90 }
91
92 node ecosse {
93 # Location: IELO datacenter (marseille)
94 #
95 include default_mageia_server
96 include default_mageia_buildnode
97 timezone::timezone { "Europe/Paris": }
98 }
99
100
101 # backup server
102 node fiona {
103 # Location: IELO datacenter (marseille)
104 #
105 # TODO:
106 # - buy the server
107 # - install the server in datacenter
108 #
109 include default_mageia_server
110 }
111
112 # gandi-vm
113 node krampouezh {
114 # Location: gandi VM
115 #
116 # TODO:
117 # - secondary MX
118 # - LDAP slave (for external traffic maybe)
119 #
120 include default_mageia_server
121 include bind::bind_master
122 bind::zone_master { "mageia.org": }
123 bind::zone_master { "mageia.fr": }
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 include apache::base
138 }
139
140

  ViewVC Help
Powered by ViewVC 1.1.30