Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created August 6, 2013 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bodepd/6168663 to your computer and use it in GitHub Desktop.
Save bodepd/6168663 to your computer and use it in GitHub Desktop.
exec { 'jenkins_jobs_update':
command => 'sleep 120 && jenkins-jobs update /etc/jenkins_jobs/config',
path => '/bin:/usr/bin:/usr/local/bin',
refreshonly => true,
require => [
File['/etc/jenkins_jobs/jenkins_jobs.ini'],
Package['python-jenkins'],
Package['python-yaml'],
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment