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

Author provided reason for deprecation:

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

You may find that the aws cookbook is a suitable alternative.

RSS

route53 (21) Versions 0.4.0

Providces resources for managing Amazon Route53 DNS

Policyfile
Berkshelf
Knife
cookbook 'route53', '= 0.4.0', :supermarket
cookbook 'route53', '= 0.4.0'
knife supermarket install route53
knife supermarket download route53
README
Dependencies
Changelog
Quality 0%

Description

Updates Amazon Web Service's Route 53 (DNS) service.

Requirements

An Amazon Web Services account and a Route 53 zone.

Usage

include_recipe "route53"

route53_record "create a record" do
  name  "test"
  value "16.8.4.2"
  type  "A"
  zone_id               node[:route53][:zone_id]
  aws_access_key_id     node[:route53][:aws_access_key_id]
  aws_secret_access_key node[:route53][:aws_secret_access_key]
  overwrite true
  action :create
end

NOTE: If you do not specify aws credentials, it will attempt
to use the AWS IAM Role assigned to the instance instead.

Testing

bundle install

librarian-chef install

Edit .kitchen.yml and update attribute values.

kitchen converge

ChefSpec Matcher

This Cookbook includes a Custom Matcher
for testing the route53_record LWRP with ChefSpec.

To utilize this Custom Matcher use the following test your spec:

expect(chef_run).to create_route53_record('example.com')

v0.4.0

  • make "name" the name_attribute of a resource
  • depends on xml to support installing nokogiri and fog dependency ## v0.3.8
  • allow for nokogiri version to be specified ## v0.3.6
  • proper support for serverspec tests
  • make sure needed resource defaults are required
  • fog require error ## v0.3.5
  • enhancements to supported TDD tools
  • New Delete action available for record resource
  • add aws secret token auth attribute support
  • support mock record
  • handle trailing dot on record names
  • move nokogiri requires so they do not happen before chef_gem ## v0.3.4
  • change to attribute names in the build-essential dependency cookbook ## v0.3.3
  • support for alias records
  • build-essential to correct fog build errors
  • install specific fog version by setting attribute
  • test-kitchen support and begin enhanced testing frameworks ## v0.3.2
  • Add missing "name" attribute to metadata
  • install correct libxml2 and libxslt package names for rhel family
  • allow multiple MX records (or records in general), passed as array
  • Added IAM role support
  • Use chef_gem resource for fog install
  • correct working record creation and overwrite logic

Foodcritic Metric
            

0.4.0 failed this metric

FC017: LWRP does not notify when updated: /tmp/cook/3ac1abd86eb32d61345ed62c/route53/providers/record.rb:81
FC017: LWRP does not notify when updated: /tmp/cook/3ac1abd86eb32d61345ed62c/route53/providers/record.rb:131