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

stackdriver (1) Versions 0.1.0

Installs/Configures stackdriver

Berkshelf/Librarian
Policyfile
Knife
cookbook 'stackdriver', '~> 0.1.0'
cookbook 'stackdriver', '~> 0.1.0', :supermarket
knife cookbook site install stackdriver
knife cookbook site download stackdriver
README
Dependencies
Quality

Chef Cookbook for Stackdriver

  • This Chef cookbook will deploy the the Stackdriver collectd agent.
  • This cookbook requires a Stackdriver account. Free trial available.

Requirements

Chef >= 10

Platform

  • Any RedHat based Linux distro, including: CentOS, Fedora, Amazon and other derivatives.

Attributes

  • default[:stackdriver][:api][:key] = Your API Key is available from the Stackdriver App Settings Page. Override/replace "YOUR_API_KEY_HERE" with a valid API Key.
  • default[:stackdriver][:collectd][:config] = Defines whether or not to auto-generate your collectd config. Defaults to "yes."

Usage

  1. Download the Stackdriver cookbook into your chef-repo/cookbooks/stackdriver directory: (the cookbook directory name must be stackdriver)
  2. git clone https://github.com/dlaube/chef-stackdriver.git ./stackdriver, or
  3. manually download from the Opscode community site http://community.opscode.com/cookbooks/stackdriver, or
  4. knife cookbook site download stackdriver
  5. Set your apikey as described in the Attributes section.
  6. You may override these via a Chef role or environment. Alternatively, edit stackdriver/attributes/default.rb if you are daring ;)
  7. Set any other optional attributes described above, as desired.
  8. Upload the stackdriver cookbook to your chef server or hosted chef:
  9. knife cookbook upload -a -o stackdriver
  10. Include recipe[stackdriver] in the run_list for all of your servers.
  11. knife node run_list add NODE_NAME_HERE 'recipe[stackdriver]'
  12. Run chef-client on your nodes in whatever manner suits you, such as sudo chef-client or a batch job.
  13. View your system(s) within a few moments in the Stackdriver App
  14. Ensure that you see the Agent Status listed as active.

That's all there is to it!

Links

License and Author

Author:: David Laube

(The MIT License)

Copyright © 2013 Stackdriver and original authors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

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

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

Foodcritic Metric
            

0.1.0 failed this metric

FC064: Ensure issues_url is set in metadata: stackdriver/metadata.rb:1
FC065: Ensure source_url is set in metadata: stackdriver/metadata.rb:1
FC066: Ensure chef_version is set in metadata: stackdriver/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

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

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