Revert "Add a mutex around puppet runs."

This reverts commit 352cdce842.

Cron spam.

Change-Id: Iea4bdbf0b2ec36185c58318e3b46847ce7ed3b56
Reviewed-on: https://review.openstack.org/347
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2011-08-25 12:11:29 -07:00 committed by Jenkins
parent 325649a6e4
commit 20517956da

View File

@ -26,15 +26,13 @@ class openstack_base {
"bzr",
"git",
"python-setuptools",
"util-linux",
"byobu"]
package { $packages: ensure => "latest" }
cron { "updatepuppet":
user => root,
minute => "*/15",
command => 'sleep $((RANDOM\%600)) && cd /root/openstack-ci-puppet && /usr/bin/git pull -q && /usr/bin/flock -x /var/run/puppet.lock -w 120 /var/lib/gems/1.8/bin/puppet apply -l /tmp/manifest.log --modulepath=/root/openstack-ci-puppet/modules manifests/site.pp',
require => Package['util-linux'],
command => 'sleep $((RANDOM\%600)) && cd /root/openstack-ci-puppet && /usr/bin/git pull -q && /var/lib/gems/1.8/bin/puppet apply -l /tmp/manifest.log --modulepath=/root/openstack-ci-puppet/modules manifests/site.pp',
}
}