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

Contents of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 85 - (show annotations) (download)
Thu Nov 4 15:54:00 2010 UTC (13 years, 4 months ago) by misc
File size: 2827 byte(s)
- not needed directly in the node, will be pulled by application

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 }
80
81 # buildnode
82 node jonund {
83 # Location: IELO datacenter (marseille)
84 #
85 include default_mageia_server
86 include default_mageia_buildnode
87 timezone::timezone { "Europe/Paris": }
88 }
89
90 node ecosse {
91 # Location: IELO datacenter (marseille)
92 #
93 include default_mageia_server
94 include default_mageia_buildnode
95 timezone::timezone { "Europe/Paris": }
96 }
97
98
99 # backup server
100 node fiona {
101 # Location: IELO datacenter (marseille)
102 #
103 # TODO:
104 # - buy the server
105 # - install the server in datacenter
106 #
107 include default_mageia_server
108 }
109
110 # gandi-vm
111 node krampouezh {
112 # Location: gandi VM
113 #
114 # TODO:
115 # - secondary MX
116 # - LDAP slave (for external traffic maybe)
117 #
118 include default_mageia_server
119 include bind::bind_master
120 bind::zone_master { "mageia.org": }
121 bind::zone_master { "mageia.fr": }
122 timezone::timezone { "Europe/Paris": }
123 # Other services running on this server :
124 # - meetbot
125 }
126
127 node champagne {
128 # Location: gandi VM
129 #
130 # TODO:
131 # - setup mageia.org web site
132 # - setup blog
133 #
134 include default_mageia_server
135 include apache::base
136 }
137
138

  ViewVC Help
Powered by ViewVC 1.1.30