Merge "Use flock around puppet_run_all script"
This commit is contained in:
commit
86581c4551
@ -51,7 +51,7 @@ class openstack_project::puppetmaster (
|
||||
cron { 'updatepuppetmaster':
|
||||
user => 'root',
|
||||
minute => '*/15',
|
||||
command => 'bash /opt/system-config/production/run_all.sh',
|
||||
command => 'flock -n /var/run/puppet/puppet_run_all.lock bash /opt/system-config/production/run_all.sh',
|
||||
environment => 'PATH=/var/lib/gems/1.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user