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

Author provided reason for deprecation:

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

RSS

bprobe (1) Versions 0.2.0

Installs/Configures bprobe

Policyfile
Berkshelf
Knife
cookbook 'bprobe', '~> 0.2.0', :supermarket
cookbook 'bprobe', '~> 0.2.0'
knife supermarket install bprobe
knife supermarket download bprobe
README
Dependencies
Quality 17%

The bprobe Cookbook

This cookbook has two functions, the first is to install the Boundary bprobe daemon on your machine. The second is to interface with the Boundary API providing bprobe with certificates, adding the meter to your account and adding the meter to a group. The latter is provided by two LWRP's bprobe and bprobe_certificates. Examples of their usage can be found in the default recipe. This recipe can be used as is to install bprobe and configure it using the Boundary API. To get things running adjust the attributes in api.rb to match your Boundary account, upload the cookbooks in this repo and apply bprobe::default to a system.

Dependencies

Dependencies and their requisite versions, when necessary, are specified in metadata.rb.

Configuration Options

API Keys

Setup your API keys in attributes/api.rb

default[:boundary][:api][:hostname] = "api.boundary.com"
default[:boundary][:api][:org_id] = "dlekd93DGJDJw9diekd98"
default[:boundary][:api][:key] = "PI1ldnfKENFMslekd29dl"
Host Tags

The easiest way to set host tags is to use override_attributes in your server roles

name "db-server"
description "Installs Boundary bprobe and sets some meter tags"
recipes "mysql","bprobe::default"

override_attributes({
  :boundary => {
    :bprobe => {
      :tags => [ "linux", "ubuntu", "database-server" ]
    }
  }
})
```ruby

##### Interfaces

By default, bprobe listens on all interfaces. However, you can manually specify the interfaces you wish to monitor.

```ruby
override_attributes({
  :boundary       => {
    :bprobe       => {
      :interfaces => [ "eth0", "eth2" ]
    }
  }
})
Hostname

By default Boundary will use node[:fqdn] as the hostname. You can override this by setting a [:boundary][:hostname] attribute with a higher precedence then default.

EC2

This cookbook includes automatic detection and tagging of your meter with various EC2 attributes such as security group and instance type.

OpsWorks

If you are using OpsWorks this cookbook should work out of the box (with the above dependencies). This cookbook also includes automatic detection and tagging of your meter with layers, stack name and applications if any exist.

Dependent cookbooks

yum <= 2.4.4
apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.0 failed this metric

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

Contributing File Metric
            

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

0.2.0 failed this metric

FC009: Resource attribute not recognised: bprobe/recipes/dependencies.rb:43
FC043: Prefer new notification syntax: bprobe/providers/certificates.rb:63
FC043: Prefer new notification syntax: bprobe/providers/certificates.rb:91
FC043: Prefer new notification syntax: bprobe/recipes/default.rb:58
FC043: Prefer new notification syntax: bprobe/recipes/default.rb:67
FC064: Ensure issues_url is set in metadata: bprobe/metadata.rb:1
FC065: Ensure source_url is set in metadata: bprobe/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bprobe/metadata.rb:1
FC069: Ensure standardized license defined in metadata: bprobe/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: bprobe/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: bprobe/resources/certificates.rb:1
FC074: LWRP should use DSL to define resource's default action: bprobe/resources/default.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: bprobe/libraries/boundary_api.rb:144
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: bprobe/libraries/boundary_api.rb:162
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: bprobe/libraries/boundary_api.rb:167
FC085: Resource using new_resource.updated_by_last_action to converge resource: bprobe/providers/certificates.rb:31
FC085: Resource using new_resource.updated_by_last_action to converge resource: bprobe/providers/certificates.rb:46
FC085: Resource using new_resource.updated_by_last_action to converge resource: bprobe/providers/default.rb:35
FC085: Resource using new_resource.updated_by_last_action to converge resource: bprobe/providers/default.rb:46
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

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

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