cookbook 'runlist_modifiers', '~> 0.1.2'
runlist_modifiers (3) Versions 0.1.2 Follow3
Provides run list modifications via node attributes
cookbook 'runlist_modifiers', '~> 0.1.2', :supermarket
knife supermarket install runlist_modifiers
knife supermarket download runlist_modifiers
RunlistModifiers
This cookbook provides helpers to allow or disallow recipes from being loaded
via the run list based on node attributes.
Repository:
https://github.com/heavywater/chef-runlist_modifiers
Attributes:
node[:restricted_recipes] = %w(users::sysadmins)
node[:allowed_recipes] = %w(sudo)
These are the two attributes available for modifying the run list. The
behavior of each is similar but slightly different.
Restricted Recipes:
Restricted recipes are recipes which are not allowed to be run. This means
that if a recipe in the run list depends on a recipe within the restricted
recipes setting, neither recipe will be loaded.
Allowed Recipes:
Allowed recipes are recipes which are allowed to be loaded within the run
list. This is the important distinction between the restricted and allowed
recipes. The allowed recipes will remove any recipes execpt those specified
from the initial run list. Any dependencies those recipes require will then
be free to be loaded.
Combinations:
These attributes can be combined. This means that if a recipe in the allowed
recipes depends on a recipe specified within the restricted recipes, it will
not be loaded. The restricted recipes always have precedence.
History:
Some history on the origins of this cookbook can be found here:
http://lists.opscode.com/sympa/arc/chef-dev/2012-03/msg00022.html
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: runlist_modifiers/metadata.rb:1
FC065: Ensure source_url is set in metadata: runlist_modifiers/metadata.rb:1
FC066: Ensure chef_version is set in metadata: runlist_modifiers/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: runlist_modifiers/metadata.rb:1
FC069: Ensure standardized license defined in metadata: runlist_modifiers/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: runlist_modifiers/metadata.rb:1
FC065: Ensure source_url is set in metadata: runlist_modifiers/metadata.rb:1
FC066: Ensure chef_version is set in metadata: runlist_modifiers/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: runlist_modifiers/metadata.rb:1
FC069: Ensure standardized license defined in metadata: runlist_modifiers/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
FC065: Ensure source_url is set in metadata: runlist_modifiers/metadata.rb:1
FC066: Ensure chef_version is set in metadata: runlist_modifiers/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: runlist_modifiers/metadata.rb:1
FC069: Ensure standardized license defined in metadata: runlist_modifiers/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number