fuel-library/deployment/puppet/osnailyfacter/modular/firewall/firewall.pp
Dmitry Ilyin 23b7c6fd83 Add test for modular tasks
* Put tests together with the tasks
* Split tasks into folders

Fuel-CI: disable
Change-Id: I4e09cf80592f7a5125d20ffd72cf8408922d5436
Related-Blueprint: fuel-library-modularization
2015-02-27 22:30:29 +02:00

23 lines
554 B
Puppet

notice('MODULAR: firewall.pp')
# Workaround for fuel bug with firewall
firewall {'003 remote rabbitmq ':
sport => [ 4369, 5672, 15672, 41055, 55672, 61613 ],
source => hiera('master_ip'),
proto => 'tcp',
action => 'accept',
require => Class['openstack::firewall'],
}
firewall {'004 remote puppet ':
sport => [ 8140 ],
source => hiera('master_ip'),
proto => 'tcp',
action => 'accept',
require => Class['openstack::firewall'],
}
class { 'openstack::firewall' :
nova_vnc_ip_range => hiera('management_network_range'),
}