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

rsdns (3) Versions 0.0.4

Installs/Configures raxmon-cli

Berkshelf/Librarian
Policyfile
Knife
cookbook 'rsdns', '~> 0.0.4'
cookbook 'rsdns', '~> 0.0.4', :supermarket
knife cookbook site install rsdns
knife cookbook site download rsdns
README
Dependencies
Quality 33%

Description

  • Install the rsdns Rackspace Cloud DNS management scripts from github https://github.com/linickx/rsdns

  • Puts the scripts into /opt/rsdns, a symlink to the main rsdns script into /usr/local/bin so it's in the PATH, and creates a .rsdns_config file in /root with the username and api key to use

Requirements

  • A Rackspace cloud server username and api key to use the rsdns scripts

  • If you want automatic credentials added to the rsdns 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/.rsdns_config 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 .rsdns_config file

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

Not using the .rsdns_config file

  • Do not create the rackspace cloud encrypted databag item
  • Access the Rackspace Cloud DNS API by using the -u and -a options on your rsdns commands
  • Export the path to rsdns with "export RSPATH=/opt/rsdns", or add the export command to your .bash_profile

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.4 failed this metric

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

Contributing File Metric
            

0.0.4 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.0.4 failed this metric

FC064: Ensure issues_url is set in metadata: rsdns/metadata.rb:1
FC065: Ensure source_url is set in metadata: rsdns/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rsdns/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: rsdns/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rsdns/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.0.4 passed this metric

No Binaries Metric
            

0.0.4 passed this metric

Publish Metric
            

0.0.4 passed this metric

Supported Platforms Metric
            

0.0.4 failed this metric

rsdns should declare what platform(s) it supports.

Testing File Metric
            

0.0.4 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.0.4 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