summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Murawski <steven.murawski@gmail.com>2017-05-08 10:17:48 -0500
committerGitHub <noreply@github.com>2017-05-08 10:17:48 -0500
commita4524bf56f0f4d20c0fa5e0929eb5f683b19f4dc (patch)
treeb26dcb10937d4f2e13e46d05149b05e73b177bb3
parentc525a4a82ebff6a81d6b55ad4769fea3bbbf79b2 (diff)
parent1cbcfdde4e666ee93218f918e96cf8c590fbe517 (diff)
downloadchef-a4524bf56f0f4d20c0fa5e0929eb5f683b19f4dc.tar.gz
Merge pull request #6125 from MsysTechnologiesllc/harry/group_incorrectly_warns
User on Windows with group incorrectly warns about passing GID
-rw-r--r--lib/chef/provider/user/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/user/windows.rb b/lib/chef/provider/user/windows.rb
index 0afa8fa14a..00a825ecab 100644
--- a/lib/chef/provider/user/windows.rb
+++ b/lib/chef/provider/user/windows.rb
@@ -36,7 +36,7 @@ class Chef
def load_current_resource
if new_resource.gid
- Chef::Log.warn("The 'gid' attribute is not implemented by the Windows platform. Please use the 'group' resource to assign a user to a group.")
+ Chef::Log.warn("The 'gid' (or 'group') property is not implemented on the Windows platform. Please use the `members` property of the 'group' resource to assign a user to a group.")
end
@current_resource = Chef::Resource::User.new(new_resource.name)