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