From 53b81d03cd853db23c2fc82b4949265f771d3dc5 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 18 Jul 2011 11:12:59 -0400 Subject: [PATCH] We should update openstack-ci on the slaves too. --- modules/jenkins_slave/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/jenkins_slave/manifests/init.pp b/modules/jenkins_slave/manifests/init.pp index ef2d14b792..5dd1a7b804 100644 --- a/modules/jenkins_slave/manifests/init.pp +++ b/modules/jenkins_slave/manifests/init.pp @@ -15,6 +15,12 @@ class jenkins_slave { command => "cd /root/openstack-ci-puppet && /usr/bin/git pull && /var/lib/gems/1.8/bin/puppet apply -l /tmp/manifest.log --modulepath=/root/openstack-ci-puppet/modules manifests/this.pp" } + cron { "updateci": + user => jenkins, + minute => "*/15", + command => "cd /home/jenkins/openstack-ci && /usr/bin/git pull" + } + package { "python-software-properties": ensure => latest }