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

RSS

marker (3) Versions 2.0.0

Provides a way to create a visual marker in the Chef log based on a template.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'marker', '~> 2.0.0'
cookbook 'marker', '~> 2.0.0', :supermarket
knife cookbook site install marker
knife cookbook site download marker
README
Dependencies
Changelog
Quality 67%

marker cookbook

Cookbook Release Build Status

Provides a way to create a visual marker in the Chef log based on a template.

It uses a definition because it runs in the context of the recipe where the cookbook and recipe name are available.

Github Repository: https://github.com/rightscale-cookbooks/marker

Requirements

  • Requires Chef 12 or higher

Usage

Add a dependency to your cookbook's metadata.rb:

depends 'marker'

At the beginning of your recipe:

marker "recipe_start"

Now, when your recipe is converging it will log:

********************************************************************************
*  Running recipe hello_world::default

RightScale Audit Entry

This cookbook comes with a rightscale_audit_entry.erb template that can be used to delineate recipes in the Audit Entires UI on the RightScale Dashboard:

marker "recipe_start_rightscale" do
  template "rightscale_audit_entry.erb"
end

This will log in a format that will create an expandable entry for your recipe in the RightScale Audit Entry for your Chef run:

********************************************************************************
*RS>  Running recipe hello_world::default   ****

Custom Templates

You can also use the marker with your own custom templates and even add your own variables:

marker "recipe_start_custom" do
  template "custom.erb"
  cookbook "hello_world"
  variables :host_name => node[:hostname]
end

The template that you include in your cookbook could look like:

********************************************************************************
*  Running recipe <%= @recipe_name %> on <%= @host_name %>

This will log in your custom format:

********************************************************************************
*  Running recipe hello_world::default on localhost

Attributes

There are no attributes in this cookbook.

Recipes

There are no recipes in this cookbook.

Author

Author:: RightScale, Inc. (cookbooks@rightscale.com)

marker Cookbook CHANGELOG

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

v2.0.0

  • Chef 12 update

v1.0.1

  • Update README.md
  • Use test-kitchen 1.1.1 on integration testing
  • Added slack notification to .travis.yml
  • Update .kitchen.yml with latest version OSs

v1.0.0

  • Initial release

Collaborator Number Metric
            

2.0.0 passed this metric

Contributing File Metric
            

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

2.0.0 passed this metric

License Metric
            

2.0.0 passed this metric

No Binaries Metric
            

2.0.0 passed this metric

Publish Metric
            

2.0.0 passed this metric

Supported Platforms Metric
            

2.0.0 failed this metric

marker should declare what platform(s) it supports.

Testing File Metric
            

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

2.0.0 passed this metric