Provides LWRPs that allow interaction with the Zerigo DNS service from your chef recipes.
A Zerigo account.
-
Install the github cookbooks knife plugin (https://github.com/websterclay/knife-github-cookbooks).
-
Install the zerigo cookbook:
$ knife cookbook github install threetee/chef-cookbook-zerigo
include_recipe "zerigo"
zerigo_zone "create a zone" do
domain "test.com"
email "[email protected]"
zerigo_email "[email protected]"
zerigo_token "zerigo_api_token"
action :create
end
zerigo_record "create a record" do
name "test"
value "16.8.4.2"
type "A"
zone_id "test.com" # Zerigo-hosted domain name
zerigo_email "[email protected]"
zerigo_token "zerigo_api_token"
action :create
end
Inspired by https://github.com/heavywater/community-cookbooks/tree/master/route53.