summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMSys <harikesh.kolekar@msystechnologies.com>2017-05-05 18:30:23 +0530
committerMSys <harikesh.kolekar@msystechnologies.com>2017-05-05 18:30:23 +0530
commit1cbcfdde4e666ee93218f918e96cf8c590fbe517 (patch)
treeb26dcb10937d4f2e13e46d05149b05e73b177bb3
parentc525a4a82ebff6a81d6b55ad4769fea3bbbf79b2 (diff)
downloadchef-1cbcfdde4e666ee93218f918e96cf8c590fbe517.tar.gz
change worning msg for windows create user resource
Signed-off-by: MSys <harikesh.kolekar@msystechnologies.com>
-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)