Set ownership of JJB config file to root

This removes the dependency on the jenkins user which might
not always be present on the system on which JJB is installed.

Change-Id: I872c9ad9a94708246bf03d409c1e4d1ef862035b
This commit is contained in:
Mathieu Gagné 2013-07-30 18:49:03 -04:00
parent dcfeee4984
commit d61d912505

View File

@ -54,7 +54,6 @@ class jenkins::job_builder (
# at some point, but that still has some problems.
file { '/etc/jenkins_jobs/jenkins_jobs.ini':
ensure => present,
owner => 'jenkins',
mode => '0400',
content => template('jenkins/jenkins_jobs.ini.erb'),
require => File['/etc/jenkins_jobs'],