Jeremy Stanley bfbbcd1368 Pass iptables_rules4 to template instead of rules4
The former works, the latter not so much...

Change-Id: Ie0186ecd2ae0279edc2d9382fd781d31d827d4c7
2014-01-29 01:04:24 +00:00

21 lines
621 B
Puppet

# == Class: openstack_project::slave_template
#
class openstack_project::slave_template (
$install_users = true,
$ssh_key = $openstack_project::jenkins_ssh_key
) inherits openstack_project {
class { 'openstack_project::template':
# Port 8000 from the devstack neutron public net to allow
# nova servers to reach heat-api-cfn
iptables_rules4 =>
['-p tcp --dport 8000 -s 172.24.4.0/24 -j ACCEPT'],
iptables_public_tcp_ports => [],
install_users => $install_users,
}
class { 'jenkins::slave':
ssh_key => $ssh_key,
sudo => true,
bare => true,
}
}