diff options
Diffstat (limited to 'lib/chef/resource/windows_ad_join.rb')
-rw-r--r-- | lib/chef/resource/windows_ad_join.rb | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/chef/resource/windows_ad_join.rb b/lib/chef/resource/windows_ad_join.rb index e285e1cf1e..26da5fb725 100644 --- a/lib/chef/resource/windows_ad_join.rb +++ b/lib/chef/resource/windows_ad_join.rb @@ -28,33 +28,33 @@ class Chef description "Use the **windows_ad_join** resource to join a Windows Active Directory domain." introduced "14.0" examples <<~DOC - **Join a domain** + **Join a domain** - ```ruby - windows_ad_join 'ad.example.org' do - domain_user 'nick' - domain_password 'p@ssw0rd1' - end - ``` + ```ruby + windows_ad_join 'ad.example.org' do + domain_user 'nick' + domain_password 'p@ssw0rd1' + end + ``` - **Join a domain, as `win-workstation`** + **Join a domain, as `win-workstation`** - ```ruby - windows_ad_join 'ad.example.org' do - domain_user 'nick' - domain_password 'p@ssw0rd1' - new_hostname 'win-workstation' - end - ``` + ```ruby + windows_ad_join 'ad.example.org' do + domain_user 'nick' + domain_password 'p@ssw0rd1' + new_hostname 'win-workstation' + end + ``` - **Leave the current domain and re-join the `local` workgroup** + **Leave the current domain and re-join the `local` workgroup** - ```ruby - windows_ad_join 'Leave domain' do - action :leave - workgroup 'local' - end - ``` + ```ruby + windows_ad_join 'Leave domain' do + action :leave + workgroup 'local' + end + ``` DOC property :domain_name, String, |