aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/manifests/cronie.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-04 12:28:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-04 12:33:05 +0100
commit2499f7e73946cd5147a1158b48ebe4b06e4e530d (patch)
treeb1435c23f21afee1a8d150d0d96da40070916fc5 /modules/base_installation/manifests/cronie.pp
parent85abd2fdbad83430df4824843764719064afb9b4 (diff)
downloadPuppet-2499f7e73946cd5147a1158b48ebe4b06e4e530d.tar.gz
Puppet-2499f7e73946cd5147a1158b48ebe4b06e4e530d.tar.zst
Puppet-2499f7e73946cd5147a1158b48ebe4b06e4e530d.zip
Add helpers and remove logs from cronie
Diffstat (limited to 'modules/base_installation/manifests/cronie.pp')
-rw-r--r--modules/base_installation/manifests/cronie.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base_installation/manifests/cronie.pp b/modules/base_installation/manifests/cronie.pp
index 4df0e37..72f2d8f 100644
--- a/modules/base_installation/manifests/cronie.pp
+++ b/modules/base_installation/manifests/cronie.pp
@@ -19,13 +19,13 @@ class base_installation::cronie inherits base_installation {
19 } 19 }
20 cron { 'puppet-apply': 20 cron { 'puppet-apply':
21 ensure => present, 21 ensure => present,
22 command => "cd $base_installation::puppet_code_path ; puppet apply --test $base_installation::puppet_code_path/manifests/site.pp", 22 command => "cd $base_installation::puppet_code_path ; puppet apply $base_installation::puppet_code_path/manifests/site.pp",
23 user => root, 23 user => root,
24 minute => '*/20' 24 minute => '*/20'
25 } 25 }
26 cron { 'puppet-apply-reboot': 26 cron { 'puppet-apply-reboot':
27 ensure => present, 27 ensure => present,
28 command => "cd $base_installation::puppet_code_path ; puppet apply --test $base_installation::puppet_code_path/manifests/site.pp", 28 command => "cd $base_installation::puppet_code_path ; puppet apply $base_installation::puppet_code_path/manifests/site.pp",
29 user => root, 29 user => root,
30 special => "reboot" 30 special => "reboot"
31 } 31 }