2 # Define the bucket for backups
4 server => "myops.planet-lab.org"
7 # And, specify it as the default target
8 File { backup => main }
10 class planetlab_node {
11 file { "/tmp/puppet_setup_blue":
18 file { "/etc/planetlab/plc_config":
24 file { "/usr/bin/cleanrpm.sh":
25 source => "puppet:///sample/cleanrpm.sh",
30 exec { "/usr/bin/cleanrpm.sh":
31 onlyif => "test `pgrep \"rpm|yum\" | wc -l` -gt 0",
32 creates => "/tmp/cleanrpm.log",
33 path => ["/bin", "/usr/bin", "/usr/sbin"],
39 package { 'ruby-rdoc':
43 file { "/etc/puppet/puppet.conf":
44 source => "puppet:///sample/puppet.conf",