summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_feature.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-31 09:57:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-31 09:57:05 -0700
commit14b9553818265ecc35c037adfe479320e3a70e34 (patch)
treeec8f36c6f929f0c0b56f062484a280d6e645d61e /lib/chef/resource/windows_feature.rb
parentf051b6e7912086edc03747f4b1c0285bfb6597f5 (diff)
downloadchef-14b9553818265ecc35c037adfe479320e3a70e34.tar.gz
For Discussion: Weirich Semantic Block stylelcg/weirich-semantic-block
Style/BlockDelimiters: Enabled: true EnforcedStyle: semantic See, eg: https://github.com/rubocop-hq/ruby-style-guide/issues/162 http://www.virtuouscode.com/2011/07/26/the-procedurefunction-block-convention-in-ruby/ Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/windows_feature.rb')
-rw-r--r--lib/chef/resource/windows_feature.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_feature.rb b/lib/chef/resource/windows_feature.rb
index cc80284019..6b5c3fe68b 100644
--- a/lib/chef/resource/windows_feature.rb
+++ b/lib/chef/resource/windows_feature.rb
@@ -22,7 +22,7 @@ class Chef
class Resource
class WindowsFeature < Chef::Resource
resource_name :windows_feature
- provides(:windows_feature) { true }
+ provides(:windows_feature) do true end
description "Use the windows_feature resource to add, remove or entirely delete Windows features and roles. This resource calls the 'windows_feature_dism' or 'windows_feature_powershell' resources depending on the specified installation method and defaults to dism, which is available on both Workstation and Server editions of Windows."
introduced "14.0"