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

The chef-client-runit cookbook has been deprecated

Author provided reason for deprecation:

The chef-client-runit cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef-client-runit cookbook is no longer recommended.

RSS

chef-client-runit (2) Versions 0.1.1

Sets up chef-client as a runit-supervised service

Policyfile
Berkshelf
Knife
cookbook 'chef-client-runit', '~> 0.1.1', :supermarket
cookbook 'chef-client-runit', '~> 0.1.1'
knife supermarket install chef-client-runit
knife supermarket download chef-client-runit
README
Dependencies
Quality 33%

chef-client-runit

This cookbook handles setting up chef-client to run as a service supervised by runit.

Motivation

I wanted something more simple for my purposes of running chef-client as a service than the excellent chef-client cookbook. I don't need the various extra features of that cookbook, I just need to get chef-client under runit.

It is not in scope to:

  • Configure chef client /etc/chef/client.rb
  • Perform log rotation (runit does that automatically)
  • Support cron
  • Support every platform
  • Support every use case

Reasonable effort was made to ensure flexibility for the startup options.

Requirements

This cookbook requires Chef 12 or later.

Platforms

  • Ubuntu 12.04, 14.04
  • Fedora 21
  • CentOS 6.6, 7.0

It should just work on any platform that the runit cookbook supports.

Cookbooks

  • runit

Attributes

This cookbook uses the chef_client attribute namespace so that existing attributes can be reused without fuss.

Attribute Description Type Default
interval Interval for when the chef-client process should wake up, passed to -i. String 1800
splay Random number of seconds to add to the interval, passed to -s. String 300
locale Optionally set the locale. String nil
daemon_options Array of command-line options to pass to chef-client. Array []

Usage

Put recipe[chef-client-runit] on your node's role or run list.

License and Author

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

runit >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.1 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.1 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.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Testing File Metric
            

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