Fix error reporting for insane hostnames.

If you put some really silly values in (e.g. /) into hostnames then
the error message s super super cryptic.

This patch fixes that, so it's at least obvious what / where / why it's
failing if you use --trace --debug
(20096) Support systemd on Fedora 15 and up

Add a check to see if running Fedora 15 in order to use init scripts
provided by systemd. This adds compatibility for systemd on Fedora,
which currently returns an incorrect failure message when persisting
rules.
Update to also be for destination
Merge pull request #155 from bobtfish/error_reporting_fix

Error reporting fix
(#20125) Add archlinux firewall class and unit test
(#20125) Use PATH to find (ip|ip6)tables for (ip|ip6)tables provider
(#20125) Use PATH to find (ip|ip6|eb)tables for chain provider
(#20125) Add persistence support for Archlinux platform

This only works with facter 1.7.0-rc1 and up because os_key isn't
properly defined in facter 1.6.18 on Archlinux (it's set to Linux).
Merge branch '20125'

* 20125:
  (#20125) Add persistence support for Archlinux platform
  (#20125) Use PATH to find (ip|ip6|eb)tables for chain provider
  (#20125) Use PATH to find (ip|ip6)tables for (ip|ip6)tables provider
  (#20125) Add archlinux firewall class and unit test
Add an absolute path to iptables to make system tests pass

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'absolute_path_to_iptables_for_tests'

* absolute_path_to_iptables_for_tests:
  Add an absolute path to iptables to make system tests pass
Add more system tests: class testing in particular

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #160 from kbarber/more_rspec_tests

Add more system tests: class testing in particular
Add tests for the recommended setup

Using the documented recommended setup, we test if it works with no error and
test if it is idempotent by running it again, looking for resource changes.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #161 from kbarber/standard_run_tests

Add tests for the recommended setup
Merge pull request #145 from ecbypi/ticket/20096-fedora-systemd-support

(20096) Support systemd on Fedora 15 and up
Add match rule for fragments.

Via isfragment true/false property, toggles '-f'.

Same implementation as socket property, same bug
where the property is always recognized as changed.
Merge branch 'add_isfragment_option2'

* add_isfragment_option2:
  Add match rule for fragments.
Add system tests for socket property

Signed-off-by: Ken Barber <ken@bob.sh>
Fix boolean rules being always recognized as changed.

String and boolean types were compared.
Had to adapt the tests which checked for booleans, when in
reality strings where present.