diff options
Diffstat (limited to 'lib/chef/resource/windows_feature_dism.rb')
-rw-r--r-- | lib/chef/resource/windows_feature_dism.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/windows_feature_dism.rb b/lib/chef/resource/windows_feature_dism.rb index 5205bb55e9..4bbfff9823 100644 --- a/lib/chef/resource/windows_feature_dism.rb +++ b/lib/chef/resource/windows_feature_dism.rb @@ -29,20 +29,20 @@ class Chef introduced "14.0" property :feature_name, [Array, String], - description: "The name of the feature(s) or role(s) to install if they differ from the resource name.", - coerce: proc { |x| to_formatted_array(x) }, - name_property: true + description: "The name of the feature(s) or role(s) to install if they differ from the resource name.", + coerce: proc { |x| to_formatted_array(x) }, + name_property: true property :source, String, - description: "Specify a local repository for the feature install." + description: "Specify a local repository for the feature install." property :all, [TrueClass, FalseClass], - description: "Install all sub-features. When set to 'true', this is the equivalent of specifying the /All switch to dism.exe", - default: false + description: "Install all sub-features. When set to 'true', this is the equivalent of specifying the /All switch to dism.exe", + default: false property :timeout, Integer, - description: "Specifies a timeout (in seconds) for the feature installation.", - default: 600 + description: "Specifies a timeout (in seconds) for the feature installation.", + default: 600 # @return [Array] lowercase the array unless we're on < Windows 2012 def to_formatted_array(x) |