5 |
package {"subversion": |
package {"subversion": |
6 |
ensure => "installed" |
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 |
# web apps |