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

raxmon-cli (3) Versions 0.0.2

Installs/Configures raxmon-cli

Berkshelf/Librarian
Policyfile
Knife
cookbook 'raxmon-cli', '= 0.0.2'
cookbook 'raxmon-cli', '= 0.0.2', :supermarket
knife cookbook site install raxmon-cli
knife cookbook site download raxmon-cli
README
Dependencies
Quality

Description

Requirements

  • python and python-pip (installed by this cookbook)

  • A Rackspace cloud server username and api key to use the raxmon-cli

  • If you want automatic credentials added to the raxmon-cli commands for the root user, an encrypted data_bag named rackspace must be created with an item called cloud.

    • If you do not want to use the /root/.raxrc file to manage the credentials for root, skip the following section

Setting up the .raxrc file for automatic cloud login credentials for root

If you already have an encrypted_data_bag_secret file created and pushed out to your chef nodes

  • Create the new encrypted data_bag knife data bag create --secret-file <LOCATION/NAME OF SECRET FILE> rackspace cloud

  • Make the json file opened look like the following, then save and exit your editor: { "id": "cloud", "raxusername": "<YOUR CLOUD SERVER USERNAME", "raxapikey": "<YOUR CLOUD SERVER API KEY" }

If you are not currently using an encrypted_data_bag_secret file

  • Create a new secret file openssl rand -base64 512 | tr -d '\r\n' > /tmp/my_data_bag_key

  • The /tmp/my_data_bag_key (or whatever you called it in the above step) needs to be pushed out to your chef nodes to /etc/chef/encrypted_data_bag_secret

  • Create the new encrypted data_bag knife data bag create --secret-file /tmp/my_data_bag_key rackspace cloud

  • Make the json file opened look like the following, then save and exit your editor: { "id": "cloud", "raxusername": "<YOUR CLOUD SERVER USERNAME", "raxapikey": "<YOUR CLOUD SERVER API KEY" }

Attributes

From encrypted data bag rackspace with item cloud: * ['raxusername'] * ['raxapikey']

Usage

Using the .raxrc file

*Follow the steps under the Requirements section above to create the encrypted data bag for the .raxrc file * As root user you can manage your Rackspace Cloud Monitoring settings via the raxmon-cli tools, see the description above for links to the documentation * If you do not set the .raxrc credentials, or you want to use raxmon-cli from a non-root user, you can still access the Rackspace Cloud Monitoring API by using the --username and --api-key options on your raxmon commands

Not using the .raxrc file

  • Do not create the rackspace cloud encrypted databag item
  • Access the Rackspace Cloud Monitoring API by using the --username and --api-key options on your raxmon commands

Dependent cookbooks

python >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found