/housepub-datadog

My wrapper cookbook for datadog

Primary LanguageRubyApache License 2.0Apache-2.0

housepub-datadog Cookbook

Site-specific implementation cookbook for interacting with Data Dog.

This cookbook is the example from my blog post about deleting attributes.

Requirements

Cookbooks

  • datadog v2.1

Attributes

  • node['datadog']['encrypted_databag'] - If your data bag items are encrypted (all or none), set this to true. Default is false.

Usage

Create a data bag called "datadog". It should have an item for the following:

  1. Your datadog service API key.
  2. Your datadog application API keys.

For example:

{
  "id": "datadog",
  "data": {
    "api_key": "DATADOG-API-KEY",
    "chef": "DATADOG-CHEF-APPLICATION_KEY"
  }
}

Then upload it to the Chef Server using chef-vault

knife vault create secrets datadog --mode client -J data_bags/secrets/datadog_unencrypted.json -A ADMINUSER -S '*:*'

License and Authors

Author: Joshua Timberman opensource@housepub.org

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.