1 |
# svn, big important server |
2 |
node valstar { |
3 |
include default_mageia_server |
4 |
# for puppet svn checkout |
5 |
package {"subversion": |
6 |
ensure => "installed" |
7 |
} |
8 |
|
9 |
# update the puppet snapshot |
10 |
cron { puppet_update: |
11 |
command => "cd /etc/puppet && /usr/bin/svn update -q", |
12 |
user => root, |
13 |
minute => '*/5' |
14 |
} |
15 |
|
16 |
exec { puppet_etc: |
17 |
cwd => "/etc/", |
18 |
command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/", |
19 |
user => "root", |
20 |
creates => "/etc/puppet/manifests/site.pp" |
21 |
} |
22 |
|
23 |
package {"puppet-server": |
24 |
ensure => "installed" |
25 |
} |
26 |
} |
27 |
|
28 |
# web apps |
29 |
node alamut { |
30 |
include default_mageia_server |
31 |
} |
32 |
|
33 |
# buildnode |
34 |
node jonund { |
35 |
include default_mageia_server |
36 |
} |
37 |
|
38 |
node ecosse { |
39 |
include default_mageia_server |
40 |
} |
41 |
|
42 |
|
43 |
# backup server |
44 |
node fiona { |
45 |
include default_mageia_server |
46 |
} |
47 |
|
48 |
# gandi-vm |
49 |
node krampouezh { |
50 |
include default_mageia_server |
51 |
} |
52 |
|
53 |
node champagne { |
54 |
include default_mageia_server |
55 |
} |
56 |
|
57 |
|