]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(#10690) Create new port property
authorJonathan Boyett <jonathan@failingservers.com>
Wed, 9 Nov 2011 23:17:41 +0000 (15:17 -0800)
committerKen Barber <ken@bob.sh>
Sat, 12 Nov 2011 16:49:32 +0000 (16:49 +0000)
commit80407848ea2fe1d46a723ccdf29a535685a7dcff
treea5d8a037fffa4002b300ae853beea0525783039c
parent99e9e052d5326bb59c88b40169c0cc064452d2ad
(#10690) Create new port property

This new property will allow you to specify ports that match both destination
and source.

This works the same as dport and sport parameters, so it provides array
support and hyphen separated ranges of ports as well.
examples/iptables/test.pp
lib/puppet/provider/firewall/iptables.rb
lib/puppet/type/firewall.rb
spec/fixtures/iptables/conversion_hash.rb