Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

helpers-search (1) Versions 0.0.3

Helper Library for Chef Search

Berkshelf/Librarian
Policyfile
Knife
cookbook 'helpers-search', '~> 0.0.3'
cookbook 'helpers-search', '~> 0.0.3', :supermarket
knife cookbook site install helpers-search
knife cookbook site download helpers-search
README
Dependencies
Quality

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

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 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.0.3 failed this metric

helpers-search does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.0.3 passed this metric

Publish Metric
            

0.0.3 passed this metric

Supported Platforms Metric
            

0.0.3 failed this metric

helpers-search should declare what platform(s) it supports.

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