From ee45c2750093c733343c02f36c95ace809308567 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 20 Jul 2012 12:40:11 -0700 Subject: [PATCH] Change master cron job to support environments. Change-Id: I6a58d7fc431637ec34a8cf6c943fe9e86838211c --- manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index f14fdb5fec..bcca172b5b 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -393,7 +393,7 @@ node "ci-puppetmaster.openstack.org" { cron { "updatepuppetmaster": user => root, minute => "*/15", - command => 'sleep $((RANDOM\%600)) && cd /opt/openstack-ci-puppet && /usr/bin/git pull -q', + command => 'sleep $((RANDOM\%600)) && cd /opt/openstack-ci-puppet/production && /usr/bin/git pull -q', environment => "PATH=/var/lib/gems/1.8/bin:/usr/bin:/bin:/usr/sbin:/sbin", }