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

stage (4) Versions 0.0.4

Multi stage chef runs. Run sub chef runs

Policyfile
Berkshelf
Knife
cookbook 'stage', '~> 0.0.4', :supermarket
cookbook 'stage', '~> 0.0.4'
knife supermarket install stage
knife supermarket download stage
README
Dependencies
Quality 17%

Description

stage facilitates multi stage chef runs

Requirements

Debian, Ubuntu, CentOS, Red Hat, Scientific, Fedora, SUSE, Amazon, GCEL.

Usage

include the "stage" recipe to use the lwrp. this recipe provides a default resource name "stage".
stage resource can take four options, run_list which is simlar to node run list and can be
a comma separated string of recipes and roles. the other option save is a boolean, which dictates
whether the attributes from the run list will be saved or merged against the current node or not, save
is true by default. stage resource right now supports only :run action. Stage reasource is idempotent
and can be used to notify other resources (assuming the resources invoked by the run list attribute are
idempotent).

the options json_attributes and args can be used to pass additional json attributes and arguments
to the sub chef runs.

stage resources can also

include_recipe "stage"

stage "first" do
  run_list "recipe[foo]"
end

stage "second" do
  run_list "recipe[bar]"
end

stage "third" do
  run_list "recipe[baz]"
  save false # attributes from baz wont be merged against the node
end

License and Author

Author:: Ranjib Dey (dey.ranjib@gmail.com)
Copyright:: 2013, Ranjib Dey

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 License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.4 failed this metric

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

Contributing File Metric
            

0.0.4 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.0.4 failed this metric

FC064: Ensure issues_url is set in metadata: stage/metadata.rb:1
FC065: Ensure source_url is set in metadata: stage/metadata.rb:1
FC066: Ensure chef_version is set in metadata: stage/metadata.rb:1
FC069: Ensure standardized license defined in metadata: stage/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: stage/providers/default.rb:32
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.4 passed this metric

Testing File Metric
            

0.0.4 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.0.4 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