Paul Belanger adc50a2f6e
Remove puppet-jenkins from single_use_slave.pp
We now create our jenkins user with DIB elements.

Change-Id: I7e5589dad03ce959cdf271cc46e8242c68cb6f2e
Depends-On: I33a67f980289002618a55f4221dcf195dc4a787f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-04-26 14:02:54 -04:00

20 lines
714 B
Puppet

# == Class: openstack_project::single_use_slave
#
# This class configures single use Jenkins slaves with a few
# toggleable options. Most importantly sudo rights for the Jenkins
# user are by default off but can be enabled.
class openstack_project::single_use_slave (
$certname = $::fqdn,
$install_resolv_conf = true,
$sudo = false,
# TODO(pabelanger): To be removed in a future patch.
$ssh_key = $openstack_project::jenkins_ssh_key,
$jenkins_gitfullname = 'OpenStack Jenkins',
$jenkins_gitemail = 'jenkins@openstack.org',
) inherits openstack_project {
class { 'openstack_project::template':
certname => $certname,
install_resolv_conf => $install_resolv_conf,
}
}