diff options
author | Stuart Preston <stuart@chef.io> | 2018-03-07 20:15:31 -0800 |
---|---|---|
committer | Stuart Preston <stuart@chef.io> | 2018-03-07 20:15:31 -0800 |
commit | a8ee50ed5021e2897f5483049acdb36c1f23125c (patch) | |
tree | 5ad6510007607fdae38856d314ae20577c4c4690 /lib/chef/resource/windows_feature.rb | |
parent | e20bbea2f4a4201c3db645f6a2d14c793682e6cc (diff) | |
parent | 27de91563e5311cf17fdb53e7542db553787ec2f (diff) | |
download | chef-a8ee50ed5021e2897f5483049acdb36c1f23125c.tar.gz |
Merge branch 'master' into sp/powershell_exec
Signed-off-by: <>
Diffstat (limited to 'lib/chef/resource/windows_feature.rb')
-rw-r--r-- | lib/chef/resource/windows_feature.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_feature.rb b/lib/chef/resource/windows_feature.rb index 42f5524cc1..84778e2bcb 100644 --- a/lib/chef/resource/windows_feature.rb +++ b/lib/chef/resource/windows_feature.rb @@ -15,6 +15,9 @@ # See the License for the specific language governing permissions and # limitations under the License. # + +require "chef/resource" + class Chef class Resource class WindowsFeature < Chef::Resource @@ -33,11 +36,11 @@ class Chef property :source, String, description: "Use a local repository for the feature install." - property :all, [true, false], + property :all, [TrueClass, FalseClass], description: "Install all sub features.", default: false - property :management_tools, [true, false], + property :management_tools, [TrueClass, FalseClass], description: "Install all applicable management tools of the roles, role services, or features (PowerShell only).", default: false |