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

Select Status

RSS

hosts_from_search (3) Versions 0.1.3

Setup hosts file from a chef search

Policyfile
Berkshelf
Knife
cookbook 'hosts_from_search', '~> 0.1.3', :supermarket
cookbook 'hosts_from_search', '~> 0.1.3'
knife supermarket install hosts_from_search
knife supermarket download hosts_from_search
README
Dependencies
Changelog
Quality 17%

hosts_from_search Cookbook

Put other chef nodes in /etc/hosts.

Requirements

This cookbook depends on the hosts_file cookbook.

Attributes

Attribute Description  Type Default
['node_search_query'] Search query on node index to get the hosts that will be included in /etc/hosts file. String "*:*"

Usage

hosts_from_search::default

Just include hosts_from_search in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[hosts_from_search]"
  ]
}

The recipe will issue a query using the ['node_search_query'] attribute and setup a host entry for each result.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Dependent cookbooks

hosts_file ~> 0.2.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

hosts_from_search CHANGELOG

This file is used to list changes made in each version of the hosts_from_search cookbook.

0.1.0

  • [chirauki] - Initial release of hosts_from_search

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.1.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.1.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.1.3 failed this metric

FC066: Ensure chef_version is set in metadata: hosts_from_search/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: hosts_from_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.1.3 passed this metric

Testing File Metric
            

0.1.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.1.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