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

Author provided reason for deprecation:

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

RSS

smokeping (9) Versions 1.1.0

Installs and configures SmokePing server with fping

Policyfile
Berkshelf
Knife
cookbook 'smokeping', '= 1.1.0', :supermarket
cookbook 'smokeping', '= 1.1.0'
knife supermarket install smokeping
knife supermarket download smokeping
README
Dependencies
Quality 0%

Smokeping Cookbook

Build Status

Installs and configures the SmokePing server and fping service

SmokePing:
http://oss.oetiker.ch/smokeping/

fping
http://fping.sourceforge.net/

Requirements

Platform

  • Ubuntu 10.04 / Ubuntu 12.04
  • Debian

Chef Cookbooks

  • Apache cookbook
  • Perl cookbook

Attributes

default['smokeping']['site_remark_owner'] = 'Some Company'
default['smokeping']['admin_name']  = '<admin name>'
default['smokeping']['admin_email']  = '<admin email>'
default['smokeping']['alert_email']  = '<alert email>'

Usage

The right way to use this cookbook is to create a new site-specific cookbook
that look up the needed data and pass them to this cookbook via the Target
provider.

Using the Target provider

  # Expected data structure
   data = {
     "name" => "Production"
      nodes => ["nodea", "nodeb"],
      slaves => ["nodeb"]
   }

   smokeping_target "name" do
   action :create
   variables(
      :data => data
      )
   end

Apply the recipe to a the nodes runlist and run Chef

Dependent cookbooks

apache2 >= 0.0.0
perl >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.1.0 failed this metric

FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/7ada21b3e87762cf095f6e20/smokeping/recipes/example_master.rb:23
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/7ada21b3e87762cf095f6e20/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/7ada21b3e87762cf095f6e20/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/7ada21b3e87762cf095f6e20/smokeping/recipes/slave.rb:23
FC034: Unused template variables: /tmp/cook/7ada21b3e87762cf095f6e20/smokeping/templates/default/smokeping_secrets.erb:1