diff options
author | sersut <serdar@opscode.com> | 2013-11-11 17:18:03 -0800 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2013-11-11 17:18:03 -0800 |
commit | 7d884c8c5915801b2b39a2f88de190947d039887 (patch) | |
tree | afaeebd3ae6167df552e33f20d9f4a7e4797e5b2 /lib/chef/provider | |
parent | 05b9d84ebdd76b0466f9dc12d8960934c6e2166c (diff) | |
download | chef-7d884c8c5915801b2b39a2f88de190947d039887.tar.gz |
Fix the error message in the conflicting user add/remove in group resource.
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/group.rb b/lib/chef/provider/group.rb index f453c3b7c7..a89b4a57b3 100644 --- a/lib/chef/provider/group.rb +++ b/lib/chef/provider/group.rb @@ -70,7 +70,7 @@ class Chef if !@new_resource.members.nil? && !@new_resource.excluded_members.nil? common_members = @new_resource.members & @new_resource.excluded_members a.assertion { common_members.empty? } - a.failure_message(Chef::Exceptions::ConflictingMembersInGroup, "Group resource has conflicting users: '#{common_members.join(', ')}'") + a.failure_message(Chef::Exceptions::ConflictingMembersInGroup, "Attempting to both add and remove users from a group: '#{common_members.join(', ')}'") # No why-run alternative end end |