cookbook 'helpers-search', '~> 0.0.3'
helpers-search (1) Versions 0.0.3 Follow0
Helper Library for Chef Search
cookbook 'helpers-search', '~> 0.0.3', :supermarket
knife supermarket install helpers-search
knife supermarket download helpers-search
helpers-search cookbook
This recipe brings in a Helpers::Search
module that adds/wrapps chefs search function.
Usage
Include this recipe in your run_list, and mix into any class you wnat the methods in.
* helpers-search::mix_recipe
recipe is provde to mix into Chef::Recipe automatically.
you can Open up and mix these methods in other namespaces if needed
class Chef
class Template
include Helpers::Search
end
end
Methods
scoped_search
This wraps chef's search to add domain or environment awareness.
Usage
scoped_search("domain", :node, "attrib:match" )
Available "scopes"
- domain
- environemnt
Recipes
default
Does nothing, just makes sure the libs are loaded
mix_recipe
Add the methods to Chef::Recipe
Author
Author:: Jesse Nelson (spheromak@gmail.com)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.3 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.0.3 failed this metric
FC039: Node method cannot be accessed with key: helpers-search/libraries/search.rb:18
FC064: Ensure issues_url is set in metadata: helpers-search/metadata.rb:1
FC065: Ensure source_url is set in metadata: helpers-search/metadata.rb:1
FC066: Ensure chef_version is set in metadata: helpers-search/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: helpers-search/metadata.rb:1
FC069: Ensure standardized license defined in metadata: helpers-search/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
0.0.3 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.0.3 failed this metric
FC039: Node method cannot be accessed with key: helpers-search/libraries/search.rb:18
FC064: Ensure issues_url is set in metadata: helpers-search/metadata.rb:1
FC065: Ensure source_url is set in metadata: helpers-search/metadata.rb:1
FC066: Ensure chef_version is set in metadata: helpers-search/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: helpers-search/metadata.rb:1
FC069: Ensure standardized license defined in metadata: helpers-search/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: helpers-search/metadata.rb:1
FC065: Ensure source_url is set in metadata: helpers-search/metadata.rb:1
FC066: Ensure chef_version is set in metadata: helpers-search/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: helpers-search/metadata.rb:1
FC069: Ensure standardized license defined in metadata: helpers-search/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
0.0.3 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