source => '192.168.2.0/24'
+ You can also negate a mask by putting ! in front. For example:
+
+ source => '! 192.168.2.0/24'
+
The source can also be an IPv6 address if your provider supports it.
EOS
munge do |value|
begin
- @resource.host_to_ip(value)
+ @resource.host_to_mask(value)
rescue Exception => e
self.fail("host_to_ip failed for #{value}, exception #{e}")
end
destination => '192.168.1.0/24'
+ You can also negate a mask by putting ! in front. For example:
+
+ destination => '! 192.168.2.0/24'
+
The destination can also be an IPv6 address if your provider supports it.
EOS
munge do |value|
begin
- @resource.host_to_ip(value)
+ @resource.host_to_mask(value)
rescue Exception => e
self.fail("host_to_ip failed for #{value}, exception #{e}")
end