Fix puppet firewall module class usage

https://tickets.puppetlabs.com/browse/MODULES-1525

Change-Id: I7aa339b96ab5e71cfb8e8dfe6d4a5cffa92ed85c
This commit is contained in:
Samir Ibradžić 2016-03-15 04:41:59 +09:00
parent 542c6be1c2
commit e4f2482856
3 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,8 @@ class {'::midonet::midonet_cli':
# Firewall rule to allow the udp port used for vxlan tunnelling of overlay
# traffic from midolman hosts to other midolman hosts.
class { 'firewall': }
if $segmentation_type =='tun' {
firewall {'6677 vxlan port':
port => '6677',

View File

@ -60,6 +60,7 @@ exec { 'haproxy reload':
Haproxy::Listen <||> -> Exec['haproxy reload']
Haproxy::Balancermember <||> -> Exec['haproxy reload']
class { 'firewall': }
firewall {'502 Midonet api':
port => '8081',

View File

@ -30,6 +30,8 @@ class {'::cassandra':
seed_address => $nsdb_mgmt_map["${::hostname}"]
}
class { 'firewall': }
firewall {'500 zookeeper ports':
port => '2888-3888',
proto => 'tcp',