system-config/modules/openstack_project/manifests/slave.pp
Monty Taylor e8fee5ca6d Remove old salt references from the puppet
Now that salt has been removed, remove the puppet module ensure
absent support.

This should be landed after puppet has been run after the previous patch has been landed.

Change-Id: I17a8caf19fd78b47d3c4683092aab76564497e05
2014-07-05 11:36:52 -07:00

45 lines
932 B
Puppet

# == Class: openstack_project::slave
#
class openstack_project::slave (
$thin = false,
$certname = $::fqdn,
$ssh_key = '',
$sysadmins = [],
$python3 = false,
$include_pypy = false
) {
include openstack_project
include openstack_project::automatic_upgrades
include openstack_project::tmpcleanup
class { 'openstack_project::server':
iptables_public_tcp_ports => [],
certname => $certname,
sysadmins => $sysadmins,
}
class { 'jenkins::slave':
ssh_key => $ssh_key,
python3 => $python3,
}
include jenkins::cgroups
include ulimit
ulimit::conf { 'limit_jenkins_procs':
limit_domain => 'jenkins',
limit_type => 'hard',
limit_item => 'nproc',
limit_value => '256'
}
class { 'openstack_project::slave_common':
include_pypy => $include_pypy,
}
if (! $thin) {
include openstack_project::thick_slave
}
}