summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/type/user.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/user.rb b/lib/puppet/type/user.rb
index 4fb1d02cd..952524826 100755
--- a/lib/puppet/type/user.rb
+++ b/lib/puppet/type/user.rb
@@ -364,8 +364,8 @@ module Puppet
}
end
- if @states.include?(:groups) and groups = @states[:groups].should.split(",")
- autos += groups
+ if @states.include?(:groups) and groups = @states[:groups].should
+ autos += groups.split(",")
end
autos