diff options
author | brewn <nbrewer@chef.io> | 2018-03-28 15:52:16 -0400 |
---|---|---|
committer | brewn <nbrewer@chef.io> | 2018-03-28 15:52:16 -0400 |
commit | d81726f0866b227413e4ccfad3cdb3b3651d34fa (patch) | |
tree | ec829eef271f24590fc41d7117721e6eba253e99 /lib/chef | |
parent | 2151d6d435f6169ca41dc1f96324a3585ff22e06 (diff) | |
download | chef-d81726f0866b227413e4ccfad3cdb3b3651d34fa.tar.gz |
add description for :join action
Signed-off-by: brewn <nbrewer@chef.io>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource/windows_ad_join.rb | 2 |
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);" |