blob: f461cb00c47f745677e26e7927ea55f318025b72 (
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
|
# svn, big important server
node valstar {
include default_mageia_server
# 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 {"sasl-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 {
include default_mageia_server
}
# buildnode
node jonund {
include default_mageia_server
}
node ecosse {
include default_mageia_server
}
# backup server
node fiona {
include default_mageia_server
}
# gandi-vm
node krampouezh {
include default_mageia_server
}
node champagne {
include default_mageia_server
}
|