summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-14 16:15:25 -0700
committerGitHub <noreply@github.com>2018-09-14 16:15:25 -0700
commitf6c43d60a2360106f5ab3af1ff228b18c89de122 (patch)
tree5adb3a3bc399e1cc970949e2761d17027f38c3e5
parent171ab578940db13e2ca94086bcc700148c38c128 (diff)
parent0f7ddba9b6349cc55fb9eb3f067d433dedf233e8 (diff)
downloadchef-f6c43d60a2360106f5ab3af1ff228b18c89de122.tar.gz
Merge pull request #7643 from chef/property_name
Rename windows_ad_join's newname to be new_hostname
-rw-r--r--lib/chef/resource/windows_ad_join.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_ad_join.rb b/lib/chef/resource/windows_ad_join.rb
index 8d864840d3..2399a5d6d5 100644
--- a/lib/chef/resource/windows_ad_join.rb
+++ b/lib/chef/resource/windows_ad_join.rb
@@ -52,8 +52,9 @@ class Chef
description: "Controls the system reboot behavior post domain joining. Reboot immediately, after the Chef run completes, or never. Note that a reboot is necessary for changes to take effect.",
default: :immediate
- property :new_name, String,
- description: "Specifies a new name for the computer in the new domain."
+ property :new_hostname, String,
+ description: "Specifies a new hostname for the computer in the new domain.",
+ introduced: "14.5"
# define this again so we can default it to true. Otherwise failures print the password
property :sensitive, [TrueClass, FalseClass],