Added puppet update cron job.

This commit is contained in:
Monty Taylor 2011-07-18 10:55:12 -04:00
parent 9376f6e5f7
commit f5211b218a

View File

@ -9,6 +9,12 @@ class jenkins_slave {
require => [ Package[git], Jenkinsuser[jenkins] ]
}
cron { "updatepuppet":
user => root,
minute => "*/15",
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"
}
package { "python-software-properties":
ensure => latest
}