system-config/modules/openstack_project/manifests/slave.pp
Clark Boylan 002c77b547 Install salt master and add minions.
Install a salt master on the puppetmaster node and turn permanent
jenkins slaves into salt minions.

Change-Id: Ib7cba747ee545481a4d97d78ce6009cf5bb2374d
Reviewed-on: https://review.openstack.org/14303
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-23 16:48:15 +00:00

20 lines
444 B
Puppet

class openstack_project::slave (
$certname=$fqdn,
$sysadmins=[]
) {
include openstack_project
include tmpreaper
include unattended_upgrades
class { 'openstack_project::server':
iptables_public_tcp_ports => [],
certname => $certname,
sysadmins => $sysadmins
}
class { 'jenkins::slave':
ssh_key => $openstack_project::jenkins_ssh_key
}
class { 'salt':
salt_master => 'ci-puppetmaster.openstack.org',
}
}