1 |
# svn, big important server |
2 |
node valstar { |
3 |
include default_mageia_server |
4 |
#timezone { "Europe/Paris": } |
5 |
include rsyncd |
6 |
|
7 |
# for puppet svn checkout |
8 |
package {"subversion": |
9 |
ensure => "installed" |
10 |
} |
11 |
|
12 |
# svn spam log with |
13 |
# Oct 26 13:30:01 valstar svn: No worthy mechs found |
14 |
# without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html |
15 |
# |
16 |
package {"lib64sasl2-plug-anonymous": |
17 |
ensure => "installed" |
18 |
} |
19 |
|
20 |
# update the puppet snapshot |
21 |
cron { puppet_update: |
22 |
command => "cd /etc/puppet && /usr/bin/svn update -q", |
23 |
user => root, |
24 |
minute => '*/5' |
25 |
} |
26 |
|
27 |
exec { puppet_etc: |
28 |
cwd => "/etc/", |
29 |
command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/", |
30 |
user => "root", |
31 |
creates => "/etc/puppet/manifests/site.pp" |
32 |
} |
33 |
|
34 |
package {"puppet-server": |
35 |
ensure => "installed" |
36 |
} |
37 |
} |
38 |
|
39 |
# web apps |
40 |
node alamut { |
41 |
#timezone { "Europe/Paris": } |
42 |
include default_mageia_server |
43 |
include bind_master |
44 |
zone_master { "mageia.org": } |
45 |
zone_master { "mageia.fr": } |
46 |
} |
47 |
|
48 |
# buildnode |
49 |
node jonund { |
50 |
#timezone { "Europe/Paris": } |
51 |
include default_mageia_server |
52 |
} |
53 |
|
54 |
node ecosse { |
55 |
#timezone { "Europe/Paris": } |
56 |
include default_mageia_server |
57 |
} |
58 |
|
59 |
|
60 |
# backup server |
61 |
node fiona { |
62 |
include default_mageia_server |
63 |
} |
64 |
|
65 |
# gandi-vm |
66 |
node krampouezh { |
67 |
#timezone { "Europe/Paris": } |
68 |
include default_mageia_server |
69 |
include bind_slave |
70 |
} |
71 |
|
72 |
node champagne { |
73 |
include default_mageia_server |
74 |
} |
75 |
|
76 |
|