diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-01 09:57:42 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-01 09:57:42 -0700 |
commit | 26a99926c3b9c3492226a64a5fefac0d2c2fbd65 (patch) | |
tree | 938694409a0cd684da1d294f9bd5078839fb1b24 | |
parent | 039df15956bdfce0785693a0537e114f28272a31 (diff) | |
download | chef-26a99926c3b9c3492226a64a5fefac0d2c2fbd65.tar.gz |
Fixup more formatting
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/bff_package.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/windows_feature.rb | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/resource/bff_package.rb b/lib/chef/resource/bff_package.rb index 5c18373b32..d0b67d081b 100644 --- a/lib/chef/resource/bff_package.rb +++ b/lib/chef/resource/bff_package.rb @@ -25,7 +25,7 @@ class Chef provides :bff_package - description "Use the **bff_package** resource to manage packages for the AIX platform using the installp utility. When a package is installed from a local file, it must be added to the node using the remote_file or cookbook_file resources." + description "Use the **bff_package** resource to manage packages for the AIX platform using the installp utility. When a package is installed from a local file, it must be added to the node using the **remote_file** or **cookbook_file** resources." introduced "12.0" property :package_name, String, diff --git a/lib/chef/resource/windows_feature.rb b/lib/chef/resource/windows_feature.rb index 79d305c634..1035b23da9 100644 --- a/lib/chef/resource/windows_feature.rb +++ b/lib/chef/resource/windows_feature.rb @@ -39,14 +39,14 @@ class Chef ```ruby windows_feature "NetFx3" do action :install - source "d:\sources\sxs" + source 'd:\\sources\\sxs' end ``` **Remove Telnet Server and Client features**: ```ruby - windows_feature ['TelnetServer', 'TelnetClient'] do + windows_feature %w(TelnetServer TelnetClient) do action :remove end ``` @@ -54,7 +54,7 @@ class Chef **Add the SMTP Server feature using the PowerShell provider**: ```ruby - windows_feature "smtp-server" do + windows_feature 'smtp-server' do action :install all true install_method :windows_feature_powershell @@ -64,7 +64,7 @@ class Chef **Install multiple features using one resource with the PowerShell provider**: ```ruby - windows_feature ['Web-Asp-Net45', 'Web-Net-Ext45'] do + windows_feature %w(Web-Asp-Net45 Web-Net-Ext45) do action :install install_method :windows_feature_powershell end |