summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-10-08 22:23:40 -0500
committerLuke Kanies <luke@madstop.com>2008-10-08 22:32:56 -0500
commitaea55823db21088f2dc19f99f857b12332b6c208 (patch)
tree5b5d00cab9a66a57314b36b401d09c27583573ef /lib/puppet
parent65d3040d5d5f792405404caece16261088bfcf6a (diff)
downloadpuppet-aea55823db21088f2dc19f99f857b12332b6c208.tar.gz
puppet-aea55823db21088f2dc19f99f857b12332b6c208.tar.xz
puppet-aea55823db21088f2dc19f99f857b12332b6c208.zip
Removing a gid test for users, since it is a bad test and has mostly been replaced in rspec
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-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 74c4c6a33..29f4880c1 100755
--- a/lib/puppet/type/user.rb
+++ b/lib/puppet/type/user.rb
@@ -147,8 +147,7 @@ module Puppet
raise ArgumentError, "Group names must be provided, not numbers"
end
if value.include?(",")
- puts value
- raise ArgumentError, "Group names must be provided as an array, not a comma-separated list"
+ raise ArgumentError, "Group names must be provided as an array, not as a comma-separated list '%s'" % value
end
end
end