Colleen Murphy e3f67e7941 Use the default jenkins password for JJB
This module does not create a jenkins user within jenkins, so there is
no way its password could have been set to 'secret'. Trying to use this
as JJB's auth credentials was causing the JJB exec to fail. This patch
grabs the default admin password out of /var and uses that for JJB.

Change-Id: Ifa60398acbc494dcfecd0cabaa8c829590c1744e
2017-06-11 16:42:52 +02:00

13 lines
406 B
Puppet

class { '::jenkins::slave':
user => true
}
class { '::jenkins::job_builder':
url => "https://${::fqdn}",
username => 'admin',
password => '<<jenkins_default_password>>',
jenkins_jobs_update_timeout => 1200,
config_dir => '/etc/project-config/jenkins',
require => Class['::jenkins::slave'],
}