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 3.1.0

Installs and configures SmokePing server with fping

Policyfile
Berkshelf
Knife
cookbook 'smokeping', '~> 3.1.0', :supermarket
cookbook 'smokeping', '~> 3.1.0'
knife supermarket install smokeping
knife supermarket download smokeping
README
Dependencies
Changelog
Quality 17%

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

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

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.

3.1.0 (2017-12-05)

  • Test with Local Delivery instead of Rake
  • Update Apache license string in metadata
  • Remove kind_of from the custom resource
  • Remove the updated_by_last_action calls so we properly update the resource
  • Move the templates out of the default folder
  • Improve converge messages
  • Switch testing to inspec
  • Convert Apache 2.2 style config to Apache 2.4.
  • Require Chef 12.7 not 12.5

3.0.0 (2017-02-16)

  • Convert target LWRP to a custom resource
  • Move testing to an actual testing recipe and updates chefspec testing

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
            

3.1.0 failed this metric

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

Contributing File Metric
            

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

Cookstyle Metric
            

3.1.0 failed this metric

Chef/Deprecations/FoodcriticFile: Do not include the `.foodcritic` config file for the deprecated Foodcritic cookbook linter. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_foodcriticfile): smokeping/.foodcritic: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): smokeping/resources/target.rb: 1

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

3.1.0 passed this metric

Testing File Metric
            

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

3.1.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 include a tag that matches this cookbook version number