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 suicide_control cookbook has been deprecated

Author provided reason for deprecation:

The suicide_control cookbook has been deprecated and is no longer being maintained by its authors. Use of the suicide_control cookbook is no longer recommended.

RSS

suicide_control (1) Versions 3.0.0

A fabulous new cookbook

Policyfile
Berkshelf
Knife
cookbook 'suicide_control', '~> 3.0.0', :supermarket
cookbook 'suicide_control', '~> 3.0.0'
knife supermarket install suicide_control
knife supermarket download suicide_control
README
Dependencies
Changelog
Quality 33%

suicide_control

Build Status
Cookbook Version

The default recipe aborts a chef-client run if the correct entry
exists in a data bag, or has a specific tag (suicide) set. This can
be used to prevent a daemonized chef-client from making changes on a
system during ad-hoc deployment, troubleshooting, or other purposes.

We use this cookbook at Chef internally. It is not externally
supported.

The default recipe loads items for the node chef_environment from a
data bag suicide-ctl. These must exist or it will raise an
exception. The structure of the items is:

{
  "id": "_default",
  "suicide": "none"
}

Values for suicide can be:

  • none
  • all
  • daemonized

Optionally, nodes can be tagged with suicide and the run will be
aborted.

knife tag create NODENAME suicide

When done, remove the tag.

knife tag delete NODENAME suicide

Contributing

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2008-2016, Chef Software, Inc.

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

suicide_control Cookbook CHANGELOG

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

3.0.0 (2016-09-16)

  • Add ignore files
  • Add kitchen config
  • Add docs
  • Add long_description and supermarket metadata
  • Add badges and license
  • Add rakefile and maintainers
  • Run travis tests using Chef-DK installation
  • Add basic converge chefspec
  • Resolve rubocop warnings
  • Require Chef 12.1+

Collaborator Number Metric
            

3.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

3.0.0 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
            

3.0.0 passed this metric

No Binaries Metric
            

3.0.0 passed this metric

Testing File Metric
            

3.0.0 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
            

3.0.0 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