diff options
Diffstat (limited to 'lib/chef/resource/windows_feature_powershell.rb')
-rw-r--r-- | lib/chef/resource/windows_feature_powershell.rb | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/chef/resource/windows_feature_powershell.rb b/lib/chef/resource/windows_feature_powershell.rb index e9889eb954..d6b2ff99c6 100644 --- a/lib/chef/resource/windows_feature_powershell.rb +++ b/lib/chef/resource/windows_feature_powershell.rb @@ -30,31 +30,31 @@ class Chef description "Use the **windows_feature_powershell** resource to add, remove, or entirely delete Windows features and roles using PowerShell. This resource offers significant speed benefits over the windows_feature_dism resource, but requires installation of the Remote Server Administration Tools on non-server releases of Windows." introduced "14.0" examples <<~DOC - **Add the SMTP Server feature**: + **Add the SMTP Server feature**: - ```ruby - windows_feature_powershell "smtp-server" do - action :install - all true - end - ``` + ```ruby + windows_feature_powershell "smtp-server" do + action :install + all true + end + ``` - **Install multiple features using one resource**: + **Install multiple features using one resource**: - ```ruby - windows_feature_powershell ['Web-Asp-Net45', 'Web-Net-Ext45'] do - action :install - end - ``` + ```ruby + windows_feature_powershell ['Web-Asp-Net45', 'Web-Net-Ext45'] do + action :install + end + ``` - **Install the Network Policy and Access Service feature**: + **Install the Network Policy and Access Service feature**: - ```ruby - windows_feature_powershell 'NPAS' do - action :install - management_tools true - end - ``` + ```ruby + windows_feature_powershell 'NPAS' do + action :install + management_tools true + end + ``` DOC property :feature_name, [Array, String], |