cookbook 'windows_feature', '= 1.0.22'
windows_feature (6) Versions 1.0.22 Follow4
Provides an LWRP that facilitates access to the mixlibrary-core gem windows feature support.
cookbook 'windows_feature', '= 1.0.22', :supermarket
knife supermarket install windows_feature
knife supermarket download windows_feature
Windows_Feature Cookbook
Provides an LWRP that facilitates access to the mixlibrary-core gem windows feature support.
Supported Platforms
Windows Server 2008r2
Attributes
None
Usage
default
- Include the windows_feature cookbook default recipe in another recipe to provide access to windows_feature LWRP that makes use of the mixlibrary-core windows feature support.
- Add windows_feature_manage_feature resource calls to your recipe to use the LWRP.
License and Authors
Author:: Mark Lynch (git_id: gitmlynch)
Copyright 2015 EBSCO Information Services. License:: Apache License, Version 2.0
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
1.0.0
- CI System integration
0.1.4
- Corrected a bug in the sample.rb file.
0.1.3
- Corrected a broken link in the README.md.
- No code changes.
0.1.2
- Improved feature validation in load_current_resource by calling is_feature_available?() method in Mixlibrary::Core::Windows::Features in providers/manage_feature.rb.
- Updated and corrected README.md formatting.
0.1.1
- Replaced email address in metadata.rb with actual author email address.
0.1.0
- managed_feature LWRP supporting install or remove of windows features and roles.
Foodcritic Metric
1.0.22 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:42
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:46
FC019: Access node attributes in a consistent manner: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:96
FC025: Prefer chef_gem to compile-time gem install: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/recipes/default.rb:44
1.0.22 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:42
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:46
FC019: Access node attributes in a consistent manner: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/providers/manage_feature.rb:96
FC025: Prefer chef_gem to compile-time gem install: /tmp/cook/bbfc7aaa54c7c0a9210db4c2/windows_feature/recipes/default.rb:44