summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-09-30 18:08:55 -0500
committerLuke Kanies <luke@madstop.com>2008-09-30 18:08:55 -0500
commit2afc4f5f159870ae2b8af3fb30037716a659dcf4 (patch)
tree796709c0ad20ca2907b2ccfa279596cac190ce32 /lib
parent679fede620becbe7a9e934718ddf6420e28ec2cc (diff)
downloadpuppet-2afc4f5f159870ae2b8af3fb30037716a659dcf4.tar.gz
puppet-2afc4f5f159870ae2b8af3fb30037716a659dcf4.tar.xz
puppet-2afc4f5f159870ae2b8af3fb30037716a659dcf4.zip
Adding tests for the user retrieve method
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/type/user.rb3
1 files changed, 1 insertions, 2 deletions
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
}