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

smokeping (8) Versions 2.0.0

Installs and configures SmokePing server with fping

Berkshelf/Librarian
Policyfile
Knife
cookbook 'smokeping', '= 2.0.0'
cookbook 'smokeping', '= 2.0.0', :supermarket
knife cookbook site install smokeping
knife cookbook site download smokeping
README
Dependencies
Changelog
Quality

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

Platforms

  • Debian/Ubuntu

Chef

  • Chef 12.1+

Cookbooks

  • apache2
  • perl

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 & Authors

Author: Tim Smith (tsmith@chef.io)

Copyright: 2013-2015, Limelight Networks, Inc. Copyright: 2016, Chef Software, Inc.

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

perl >= 0.0.0
apache2 >= 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.

2.0.0 (2016-09-16)

  • Run test kitchen tests in Travis with docker
  • Add Rakefile for simplified testing and use cookstyle not rubocop
  • Change ownership to Chef
  • Add use_inline_resources to the LWRPs
  • Expand test kitchen converage
  • Require Chef 12.1 and use multipackage installs

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

Collaborator Number Metric
            

2.0.0 failed this metric

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

Foodcritic Metric
            

2.0.0 failed this metric

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