diff --git a/manifests/site.pp b/manifests/site.pp index e0439362d8..1d725745e0 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -32,7 +32,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', } }