From: Ken Barber <ken@bob.sh>
Date: Sat, 23 Feb 2013 20:38:47 +0000 (+0000)
Subject: Update docs for source and dest - they are not arrays
X-Git-Tag: 0.1.0~2
X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4468b7b742426193718d05e0d7a0556aebabcb14;p=puppet-modules%2Fpuppetlabs-firewall.git

Update docs for source and dest - they are not arrays

Signed-off-by: Ken Barber <ken@bob.sh>
---

diff --git a/README.markdown b/README.markdown
index 9f5e8d9..5003a42 100644
--- a/README.markdown
+++ b/README.markdown
@@ -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',
     }
 
diff --git a/lib/puppet/type/firewall.rb b/lib/puppet/type/firewall.rb
index 942120b..ce0f377 100644
--- a/lib/puppet/type/firewall.rb
+++ b/lib/puppet/type/firewall.rb
@@ -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'