Added puppet update cron job.
This commit is contained in:
parent
9376f6e5f7
commit
f5211b218a
@ -9,6 +9,12 @@ class jenkins_slave {
|
|||||||
require => [ Package[git], Jenkinsuser[jenkins] ]
|
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":
|
package { "python-software-properties":
|
||||||
ensure => latest
|
ensure => latest
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user