diff options
author | Luke Kanies <luke@madstop.com> | 2009-02-10 14:31:44 -0600 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-02-11 08:38:08 +1100 |
commit | 012efe359fdaebd738727e42bb9b520ac48fdecf (patch) | |
tree | 96c927034202258536adb47f309ee1f073ee8d1e /lib | |
parent | a9f34aff856550e091721ee563d034ba2e1e22bb (diff) | |
download | puppet-012efe359fdaebd738727e42bb9b520ac48fdecf.tar.gz puppet-012efe359fdaebd738727e42bb9b520ac48fdecf.tar.xz puppet-012efe359fdaebd738727e42bb9b520ac48fdecf.zip |
Fixing #1912 - gid still works with no 'should' value.
This makes 'ralsh' work again with users.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/type/user.rb | 2 |
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| |