diff options
author | Luke Kanies <luke@madstop.com> | 2008-09-30 18:08:55 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-09-30 18:08:55 -0500 |
commit | 2afc4f5f159870ae2b8af3fb30037716a659dcf4 (patch) | |
tree | 796709c0ad20ca2907b2ccfa279596cac190ce32 /lib | |
parent | 679fede620becbe7a9e934718ddf6420e28ec2cc (diff) | |
download | puppet-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-x | lib/puppet/type/user.rb | 3 |
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 } |