From 4468b7b742426193718d05e0d7a0556aebabcb14 Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Sat, 23 Feb 2013 20:38:47 +0000 Subject: [PATCH] Update docs for source and dest - they are not arrays Signed-off-by: Ken Barber --- README.markdown | 2 +- lib/puppet/type/firewall.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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' -- 2.45.2