Merge "Open ports 8003, 8004 for heat API calls from compute"

This commit is contained in:
Jenkins 2014-03-20 23:05:28 +00:00 committed by Gerrit Code Review
commit 5bfba3030b

View File

@ -21,10 +21,14 @@ class openstack_project::single_use_slave (
certname => $certname, certname => $certname,
automatic_upgrades => $automatic_upgrades, automatic_upgrades => $automatic_upgrades,
install_users => $install_users, install_users => $install_users,
# Port 8000 from the devstack neutron public net to allow # Ports 8000, 8003, 8004 from the devstack neutron public net to allow
# nova servers to reach heat-api-cfn # nova servers to reach heat-api-cfn, heat-api-cloudwatch, heat-api
iptables_rules4 => iptables_rules4 =>
['-p tcp --dport 8000 -s 172.24.4.0/24 -j ACCEPT'], [
'-p tcp --dport 8000 -s 172.24.4.0/24 -j ACCEPT',
'-p tcp --dport 8003 -s 172.24.4.0/24 -j ACCEPT',
'-p tcp --dport 8004 -s 172.24.4.0/24 -j ACCEPT',
],
} }
class { 'jenkins::slave': class { 'jenkins::slave':
ssh_key => $ssh_key, ssh_key => $ssh_key,