}
cron { 'puppet-apply':
ensure => present,
- command => "cd $base_installation::puppet_code_path ; puppet apply --test $base_installation::puppet_code_path/manifests/site.pp",
+ command => "cd $base_installation::puppet_code_path ; puppet apply $base_installation::puppet_code_path/manifests/site.pp",
user => root,
minute => '*/20'
}
+ cron { 'puppet-apply-reboot':
+ ensure => present,
+ command => "cd $base_installation::puppet_code_path ; puppet apply $base_installation::puppet_code_path/manifests/site.pp",
+ user => root,
+ special => "reboot"
+ }
}
}