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