system-config/modules/openstack_project/manifests/slave.pp
Dan Prince d74cca4082 Add python3 option to jenkins::slave.
Adds a new python3 option to our jenkins slave manifest which
can be used to enable using python3-pip when installing
*key* pip packages for unit testing (tox, setuptools-git).

Also, updates openstack_project::slave so that it supports the option
as well.

Change-Id: I5face30b09e3e8d2f70b4da83481f4f8bd33fc51
Reviewed-on: https://review.openstack.org/32452
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-06-24 21:56:50 +00:00

35 lines
838 B
Puppet

# == Class: openstack_project::slave
#
class openstack_project::slave (
$bare = false,
$certname = $::fqdn,
$ssh_key = '',
$sysadmins = [],
$python3 = false
) {
include openstack_project
include openstack_project::tmpcleanup
include openstack_project::automatic_upgrades
class { 'openstack_project::server':
iptables_public_tcp_ports => [],
certname => $certname,
sysadmins => $sysadmins,
}
class { 'jenkins::slave':
bare => $bare,
ssh_key => $ssh_key,
python3 => $python3,
}
class { 'salt':
salt_master => 'ci-puppetmaster.openstack.org',
}
include jenkins::cgroups
include ulimit
ulimit::conf { 'limit_jenkins_procs':
limit_domain => 'jenkins',
limit_type => 'hard',
limit_item => 'nproc',
limit_value => '256'
}
}