1 class base_installation::cronie inherits base_installation {
2 ensure_packages(['cronie'])
4 unless empty($base_installation::puppet_code_path) {
7 path => "$base_installation::puppet_code_path/.git/hooks/post-merge",
8 source => 'puppet:///modules/base_installation/cronie/puppet-post-merge',
13 cron { 'puppet-pull-apply':
15 command => "cd $base_installation::puppet_code_path ; /usr/bin/git pull",
18 require => File['post-hook'],
20 cron { 'puppet-apply':
22 command => "cd $base_installation::puppet_code_path ; puppet apply $base_installation::puppet_code_path/manifests/site.pp",
26 cron { 'puppet-apply-reboot':
28 command => "cd $base_installation::puppet_code_path ; puppet apply $base_installation::puppet_code_path/manifests/site.pp",