cookbook 'stage', '~> 0.0.4'
stage (4) Versions 0.0.4 Follow4
Multi stage chef runs. Run sub chef runs
cookbook 'stage', '~> 0.0.4', :supermarket
knife supermarket install stage
knife supermarket download stage
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
0.0.4 failed this 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
0.0.4 failed this metric
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
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
0.0.4 failed this 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