From 2afc4f5f159870ae2b8af3fb30037716a659dcf4 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 30 Sep 2008 18:08:55 -0500 Subject: Adding tests for the user retrieve method Signed-off-by: Luke Kanies --- lib/puppet/type/user.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/puppet/type/user.rb b/lib/puppet/type/user.rb index 571781d5a..bb0a86fd0 100755 --- a/lib/puppet/type/user.rb +++ b/lib/puppet/type/user.rb @@ -272,7 +272,7 @@ module Puppet current_value = :absent if absent - prophash[property] = :absent + prophash[property] = :absent else current_value = property.retrieve prophash[property] = current_value @@ -280,7 +280,6 @@ module Puppet if property.name == :ensure and current_value == :absent absent = true -# next end prophash } -- cgit