Merge "Add apt-get update so that we get latest packages."

This commit is contained in:
Jenkins 2011-09-22 00:06:40 +00:00 committed by Gerrit Code Review
commit 883487b887

View File

@ -36,7 +36,7 @@ class openstack_base {
cron { "updatepuppet":
user => root,
minute => "*/15",
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',
command => 'apt-get update >/dev/null 2>&1 ; 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',
}
}