summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rwxr-xr-xlib/puppet/type/user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/type/user.rb b/lib/puppet/type/user.rb
index e6b16a9ac..56038869b 100755
--- a/lib/puppet/type/user.rb
+++ b/lib/puppet/type/user.rb
@@ -100,6 +100,8 @@ module Puppet
end
def insync?(is)
+ return true unless self.should
+
# We know the 'is' is a number, so we need to convert the 'should' to a number,
# too.
@should.each do |value|