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

chef-server-populator (17) Versions 0.1.0

Populate chef server with stuff you want

Policyfile
Berkshelf
Knife
cookbook 'chef-server-populator', '= 0.1.0', :supermarket
cookbook 'chef-server-populator', '= 0.1.0'
knife supermarket install chef-server-populator
knife supermarket download chef-server-populator
README
Dependencies
Quality -%

Chef Server Populator

Creates admin clients and installs provided public key. Simplifies managing and
recreating erchef nodes.

Usage

When bootstrapping with the chef-server cookbook and chef-solo:

  • Download and unpack chef-server and chef-server-populator cookbooks
  • Upload public keys to be used by clients
  • Create json to add client and key information
  • Run chef-solo

When converging with chef-client:

  • Create data bag to hold data bag item with client information
  • Create data bag item with client information
  • Set data bag related attributes

Applicable attributes:

  • node[:chef_server_populator][:databag] - name of the data bag

Structure of the data bag item:

{
  "id": "client_name",
  "chef_server": {
    "client_key": "public key contents",
    "enabled": true
  }
}

Extras

Need to use the IP address of the node for a bit, or another name instead of
having node[:fqdn]?

  • node[:chef_server_populator][:servername_override]

Want the actual chef-server cookbook for configuring chef-server installed so
the chef-server can manage itself? Just flip the switch:

  • node[:chef_server_populator][:install_chef_server_cookbooks]

Examples

Take a look in the examples directory for a basic bootstrap template that will
build a new erchef server, using existing keys and client, and register itself.

Info

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found