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

rc (20) Versions 1.2.0

Library cookbook which provides a resource for writing runtime configuration files.

Policyfile
Berkshelf
Knife
cookbook 'rc', '= 1.2.0', :supermarket
cookbook 'rc', '= 1.2.0'
knife supermarket install rc
knife supermarket download rc
README
Dependencies
Quality 0%

rc-cookbook

Library cookbook which provides a resource for writing
runtime configuration files.

A runtime configuration file can come in many flavors, but ultimately
the purpose is to manage them using a simple resource. The only type
which is provided by default is a bash runtime configuration which
is simply a key-value pair.

Any new types can be added by modifying the resource (adding a type)
and writing the appropriate erb template.

The example which is used for testing purposes is writing out an
bashrc skeleton file which manages HTTP proxies.

rc_file '/etc/skel/bashrc' do
  options(
    'http_proxy' => 'http://proxy.corporate.com:80',
    'https_proxy' => 'http://proxy.corporate.com:443',
    'ftp_proxy' => 'http://proxy.corporate.com:80',
    'no_proxy' => 'localhost,127.0.0.1'
  )
end

Foodcritic Metric
            

1.2.0 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/6a5839a73fa28549d3b151bc/rc/templates/default/bat.erb:4
FC031: Cookbook without metadata file: /tmp/cook/6a5839a73fa28549d3b151bc/rc/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/6a5839a73fa28549d3b151bc/rc/metadata.rb:1