summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-05-06 23:09:43 -0700
committerTim Smith <tsmith@chef.io>2021-05-06 23:09:43 -0700
commit90146ed4f0d660cf514331a478fe59e1dde86d84 (patch)
tree19f37249d976d978ddddb6ec97e0e4d15b3f54c9
parentc250936ea5e0404d2e01ce9f4d75413d4f26a09d (diff)
downloadchef-90146ed4f0d660cf514331a478fe59e1dde86d84.tar.gz
Clarify username / pw is windows only
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--cspell.json1
-rw-r--r--lib/chef/resource/hostname.rb4
2 files changed, 2 insertions, 3 deletions
diff --git a/cspell.json b/cspell.json
index 4f620ffdf9..84dbe1a786 100644
--- a/cspell.json
+++ b/cspell.json
@@ -286,7 +286,6 @@
"createhomedir",
"Createobject",
"creds",
- "Credentials",
"Cribbs",
"crlfile",
"crlnum",
diff --git a/lib/chef/resource/hostname.rb b/lib/chef/resource/hostname.rb
index a26fb98e4b..cf1ef54ad1 100644
--- a/lib/chef/resource/hostname.rb
+++ b/lib/chef/resource/hostname.rb
@@ -90,11 +90,11 @@ class Chef
default: true
property :domain_user, String,
- description: "The domain username with permissions to change the local hostname. Specified in the form of 'Domain\User'",
+ description: "The domain username with permissions to change the local hostname. Specified in the form of 'Domain\User'. (Windows hosts only)",
introduced: "17.1"
property :domain_password, String,
- description: "The password associated with the domain user account",
+ description: "The password associated with the domain user account. (Windows hosts only)",
introduced: "17.1"
action_class do