system-config/modules/jenkins_jobs/manifests/init.pp
Monty Taylor 9bcf67b6ab Puppet wants paths to executables.
Change-Id: Ic1a6d49e37c3c7ab62dfa3614419002af3617955
2012-04-05 19:34:11 -06:00

12 lines
222 B
Puppet

class jenkins_jobs($site, $projects) {
jenkins_jobs::add_jobs { $projects:
site => "${site}"
}
exec { "jenkins":
command => "/usr/bin/curl https://jenkins.${site}.org/reload",
refreshonly => true
}
}