Add missing class declaration

README.markdown was missing details about declaring 'my_fw::pre'
and 'my_fw::post' which caused folks following the example to see
the following error:

Could not find dependency Class[My_w::Pre] for Firewall[BLAH]
working with ip6tables support
Add tests for socket option

Signed-off-by: Ken Barber <ken@bob.sh>
Added type for socket

Signed-off-by: Ken Barber <ken@bob.sh>
Add support for -m socket option

This adds support to boolean-style flags like '-m socket' as well.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'ticket/master/socket'

* ticket/master/socket:
  Add support for -m socket option
  Added type for socket
  Add tests for socket option
Add support for single --sport and --dport parsing

Previously if someone already had a rule with a single --sport or --dport we
would fail the parse. This now accepts parsing in the single variant, while
still supporting the multiport variant.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'ticket/master/single_sport_dport_support_for_parsing'

* ticket/master/single_sport_dport_support_for_parsing:
  Add support for single --sport and --dport parsing
Fix tests for Ruby 1.9.3 from 3e13bf3

Changes in 3e13bf3 broke tests for Ruby 1.9.3 which doesn't support
Enumerable on Strings. Workaround this by casting everything as an array and
flattening to prevent existing arrays from being encapsulated.
Merge pull request #109 from dcarley/fix_tests_ruby_193

Fix tests for Ruby 1.9.3 from 3e13bf3
Merge pull request #96 from sfozz/documentation-fixes

Add missing class declaration
Add Puppet 3.1 to travis-ci test matrix

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'maint/master/add_puppet_31_to_travis'

* maint/master/add_puppet_31_to_travis:
  Add Puppet 3.1 to travis-ci test matrix
Mock Resolv.getaddress in #host_to_ip

Add an expect for Resolv.getaddress in Puppet::Util::Firewall#host_to_ip so
that the test can be run when disconnected from the net. Also isolates it
should should puppetlabs.com move to a different address.
Merge pull request #110 from dcarley/expect_resolv_getaddress

Mock Resolv.getaddress in #host_to_ip
Merge pull request #105 from wuwx/master

ip6tables provider allways execute /sbin/iptables command