owner => root,
group => root,
}
- cron { 'puppet-apply':
+ cron { 'puppet-pull-apply':
ensure => present,
command => "cd $base_installation::puppet_code_path ; /usr/bin/git pull",
user => root,
minute => '*/30',
require => File['post-hook'],
}
+ cron { 'puppet-apply':
+ ensure => present,
+ 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"
+ }
}
}