crowbar/barclamp-dns — pull request #61 by VictorLowther (2013-09-28 03:39:13+00:00)
Title: Split dns-server into 2 different roles. [2/2]

This pull request set splits dns-server into 2 smaller roles:

* dns-server, which does the initial setup of bind, and
* dns-database, which is reasposible for ongoing maintenance of the
bind9 zone for the admin network of the cluster.

This also adds some infrastructure in the Crowbar barclamp to
facilitate poking the dns-database role whenever a node is created or
destroyed.

chef/cookbooks/bind9/recipes/database.rb | 114 +++++++++++++++
chef/cookbooks/bind9/recipes/default.rb | 161 +--------------------
chef/cookbooks/bind9/templates/default/db.erb | 10 +-
.../bind9/templates/default/named.conf.crowbar.erb | 4 +-
chef/cookbooks/resolver/recipes/default.rb | 15 +-
chef/roles/dns-database.rb | 5 +
chef/roles/dns-server.rb | 14 --
crowbar.yml | 6 +
.../barclamp_dns/app/models/barclamp_dns/client.rb | 18 +++
.../app/models/barclamp_dns/database.rb | 60 ++++++++
.../barclamp_dns/app/models/barclamp_dns/server.rb | 41 ++++++
11 files changed, 259 insertions(+), 189 deletions(-)

Crowbar-Pull-ID: 763d805705b2c4a304d3ae9606be913bd4cca504

Crowbar-Release: development