summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrewn <nbrewer@chef.io>2018-03-28 15:52:16 -0400
committerbrewn <nbrewer@chef.io>2018-03-28 15:52:16 -0400
commitd81726f0866b227413e4ccfad3cdb3b3651d34fa (patch)
treeec829eef271f24590fc41d7117721e6eba253e99
parent2151d6d435f6169ca41dc1f96324a3585ff22e06 (diff)
downloadchef-d81726f0866b227413e4ccfad3cdb3b3651d34fa.tar.gz
add description for :join action
Signed-off-by: brewn <nbrewer@chef.io>
-rw-r--r--lib/chef/resource/windows_ad_join.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/windows_ad_join.rb b/lib/chef/resource/windows_ad_join.rb
index b0f66cf2c0..8f58e6e959 100644
--- a/lib/chef/resource/windows_ad_join.rb
+++ b/lib/chef/resource/windows_ad_join.rb
@@ -57,6 +57,8 @@ class Chef
default: true
action :join do
+ description "Default. Join the Active Directory domain."
+
unless on_domain?
cmd = "$pswd = ConvertTo-SecureString \'#{new_resource.domain_password}\' -AsPlainText -Force;"
cmd << "$credential = New-Object System.Management.Automation.PSCredential (\"#{new_resource.domain_user}\",$pswd);"