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

Installs and configures SmokePing server with fping

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

Smokeping Cookbook

Build Status
Cookbook Version

Installs and configures the SmokePing server and fping service

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

fping
http://fping.org/

Requirements

Chef

Chef 11+

Platform

  • Ubuntu 10.04+
  • Debian

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

License and Author

Author:: Tim Smith (tsmith84@gmail.com)

Copyright:: 2013-2014, Limelight Networks, Inc.

License:: Apache License, Version 2.0

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

apache2 >= 0.0.0
perl >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

smokeping Cookbook CHANGELOG

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

v1.1.6

  • Add contributing doc
  • Add license file
  • Expand requirements section of the readme
  • Add more files to the chefignore file
  • Use standard chef .gitignore file
  • Add source_url and issues_url to the metadata file
  • Skip Test Kitchen gem installs on travis
  • Add a changelog file
  • Breakout Gemfile into groups

Foodcritic Metric
            

1.1.6 failed this metric

FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/example_master.rb:23
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/example_master.rb:24
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/master.rb:25
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/01d468c202bcf3cfc5b8fb01/smokeping/recipes/slave.rb:23