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

Contents of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 53 - (show annotations) (download)
Thu Oct 28 22:55:56 2010 UTC (14 years ago) by misc
File size: 2594 byte(s)
- deploy ldap with puppet on valstar

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
53 # web apps
54 node alamut {
55 # Location: IELO datacenter (marseille)
56 #
57 # TODO:
58 # - bugzilla
59 # - nagios
60 # - api
61 # - mail server
62 # - mailing list server
63 # - wiki
64 # - pastbin
65 # - LDAP slave
66 # - transifex
67 # - SQL server
68 #
69 include default_mageia_server
70 include bind::bind_master
71 bind::zone_master { "mageia.org": }
72 bind::zone_master { "mageia.fr": }
73 timezone::timezone { "Europe/Paris": }
74 }
75
76 # buildnode
77 node jonund {
78 # Location: IELO datacenter (marseille)
79 #
80 # TODO:
81 # - iurt
82 #
83 include default_mageia_server
84 timezone::timezone { "Europe/Paris": }
85 }
86
87 node ecosse {
88 # Location: IELO datacenter (marseille)
89 #
90 # TODO:
91 # - iurt
92 #
93 include default_mageia_server
94 timezone::timezone { "Europe/Paris": }
95 }
96
97
98 # backup server
99 node fiona {
100 # Location: IELO datacenter (marseille)
101 #
102 # TODO:
103 # - buy the server
104 # - install the server in datacenter
105 #
106 include default_mageia_server
107 }
108
109 # gandi-vm
110 node krampouezh {
111 # Location: gandi VM
112 #
113 # TODO:
114 # - secondary MX
115 # - LDAP slave (for external traffic maybe)
116 #
117 include default_mageia_server
118 include bind::bind_slave
119 timezone::timezone { "Europe/Paris": }
120 # Other services running on this server :
121 # - meetbot
122 }
123
124 node champagne {
125 # Location: gandi VM
126 #
127 # TODO:
128 # - setup mageia.org web site
129 # - setup blog
130 #
131 include default_mageia_server
132 }
133
134

  ViewVC Help
Powered by ViewVC 1.1.30