aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/manifests/cronie.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-17 12:46:37 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 16:19:17 +0100
commitcfa8eb925ff0115d5d4b2298f7d9a054b869fa75 (patch)
tree7ec29ae80af561a848a9c9da7f01731345afe587 /modules/base_installation/manifests/cronie.pp
parent82caf31189f11a9bca4836260e8ee8ba954690f2 (diff)
downloadPuppet-cfa8eb925ff0115d5d4b2298f7d9a054b869fa75.tar.gz
Puppet-cfa8eb925ff0115d5d4b2298f7d9a054b869fa75.tar.zst
Puppet-cfa8eb925ff0115d5d4b2298f7d9a054b869fa75.zip
Add puppet_apply script with lockfile
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 e8d5dfd..e8f3e20 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 $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 $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 }