]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
Fix error reporting for insane hostnames.
authorTomas Doran <tomas.doran@timgroup.com>
Tue, 4 Sep 2012 16:04:35 +0000 (17:04 +0100)
committerTomas Doran <tomas.doran@timgroup.com>
Mon, 25 Feb 2013 16:54:44 +0000 (16:54 +0000)
commit0f1f35ff2307a048e2615dcf3750548462e20fdf
tree7f5bb8befd0c5b4bb6b7ec484b77c10907e9923d
parent64e285288bd5c036320e8584aa143f77cbdeb3d0
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
lib/puppet/type/firewall.rb