diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base_installation/manifests/cronie.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/base_installation/manifests/cronie.pp b/modules/base_installation/manifests/cronie.pp index 918bce3..4df0e37 100644 --- a/modules/base_installation/manifests/cronie.pp +++ b/modules/base_installation/manifests/cronie.pp | |||
@@ -23,5 +23,11 @@ class base_installation::cronie inherits base_installation { | |||
23 | user => root, | 23 | user => root, |
24 | minute => '*/20' | 24 | minute => '*/20' |
25 | } | 25 | } |
26 | cron { 'puppet-apply-reboot': | ||
27 | ensure => present, | ||
28 | command => "cd $base_installation::puppet_code_path ; puppet apply --test $base_installation::puppet_code_path/manifests/site.pp", | ||
29 | user => root, | ||
30 | special => "reboot" | ||
31 | } | ||
26 | } | 32 | } |
27 | } | 33 | } |