]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Update docs for source and dest - they are not arrays
authorKen Barber <ken@bob.sh>
Sat, 23 Feb 2013 20:38:47 +0000 (20:38 +0000)
committerKen Barber <ken@bob.sh>
Sat, 23 Feb 2013 20:38:47 +0000 (20:38 +0000)
Signed-off-by: Ken Barber <ken@bob.sh>
README.markdown
lib/puppet/type/firewall.rb

index 9f5e8d9a543cdc1676225f3b614e4185fc6beb39..5003a428f7482f43eb2712e2352e0fa8c83b9479 100644 (file)
@@ -189,7 +189,7 @@ Source NAT example (perfect for a virtualization host):
       jump     => 'MASQUERADE',
       proto    => 'all',
       outiface => "eth0",
-      source   => ['10.1.2.0/24'],
+      source   => '10.1.2.0/24',
       table    => 'nat',
     }
 
index 942120b531e30d1881e06dfc21991a20ea26025b..ce0f377f2eea7d123cabc9a77b337abe9d2e34d3 100644 (file)
@@ -89,7 +89,7 @@ Puppet::Type.newtype(:firewall) do
   # Generic matching properties
   newproperty(:source) do
     desc <<-EOS
-      An array of source addresses. For example:
+      The source address. For example:
 
           source => '192.168.2.0/24'
 
@@ -103,7 +103,7 @@ Puppet::Type.newtype(:firewall) do
 
   newproperty(:destination) do
     desc <<-EOS
-      An array of destination addresses to match. For example:
+      The destination address to match. For example:
 
           destination => '192.168.1.0/24'