1 |
# svn, big important server |
2 |
node valstar { |
3 |
include default_mageia_server |
4 |
include rsyncd |
5 |
timezone { "Europe/Paris": } |
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 |
} |
44 |
|
45 |
# buildnode |
46 |
node jonund { |
47 |
timezone { "Europe/Paris": } |
48 |
include default_mageia_server |
49 |
} |
50 |
|
51 |
node ecosse { |
52 |
timezone { "Europe/Paris": } |
53 |
include default_mageia_server |
54 |
} |
55 |
|
56 |
|
57 |
# backup server |
58 |
node fiona { |
59 |
include default_mageia_server |
60 |
} |
61 |
|
62 |
# gandi-vm |
63 |
node krampouezh { |
64 |
timezone { "Europe/Paris": } |
65 |
include default_mageia_server |
66 |
} |
67 |
|
68 |
node champagne { |
69 |
include default_mageia_server |
70 |
} |
71 |
|
72 |
|