From: Hector Rivas Gandara <[email protected]>

Signed-off-by: Hector Rivas Gandara <[email protected]>
---
Local-branch: feature/master/5432
 lib/puppet/provider/aixobject.rb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/puppet/provider/aixobject.rb b/lib/puppet/provider/aixobject.rb
index ae5180d..d98e36b 100755
--- a/lib/puppet/provider/aixobject.rb
+++ b/lib/puppet/provider/aixobject.rb
@@ -146,13 +146,13 @@ class Puppet::Provider::AixObject < Puppet::Provider
     end

     # convert it to string
-    if new_val.is_a? Array
-      new_val = new_val.join(",")
+    if new_value.is_a? Array
+      new_value = new_value.join(",")
     else
-      new_val = new_val.to_s
+      new_value = new_value.to_s
     end

-    if new_key?
+    if new_key
       return [ "#{new_key}=#{new_value}" ]
     else
       return []
--
1.7.1




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to