Commit Graph

329 Commits

Author SHA1 Message Date
Nate Riffe
c72da6157f Push the class defaults into hiera
The bind class parameter defaults values are meant to be supplied via module
data. Really, these ought to come through the bind::defaults class from hiera,
but that class is currently the home of platform defaults which are not meant
to be overridden by the user. This is a first step, maybe? A normalization for
sure.
2016-11-07 20:01:17 -06:00
Nate Riffe
d45305563e Merge pull request #106 from Hossy/master
Support for "forward" statement
2016-11-07 19:26:53 -06:00
Hossy923
a19df9cd9e Fixed handling of undef @forward
Changed @forward check syntax to use "<%- if @variable and @variable !=
'' -%>" to address undef.
2016-11-05 10:09:53 -05:00
Hossy
89751eea38 Support for "forward" statement
Add "forward" statement in options { } block in named.conf.
2016-10-18 21:02:17 -05:00
Nate Riffe
6eb6193290 Update the default puppet gem 2016-10-16 07:08:06 -05:00
Nate Riffe
f5429e62b2 Merge pull request #105 from inkblot/puppet-4
Update to support puppet 4
2016-10-16 07:04:15 -05:00
Nate Riffe
69f5c942fe Give up on ruby 1.9 2016-10-16 06:49:09 -05:00
Nate Riffe
9441d0a8de Update the test matrix 2016-10-15 15:52:06 -05:00
Nate Riffe
f9520431c3 Update to support puppet 4 2016-10-10 06:58:48 -05:00
Nate Riffe
a6b8c2c3d9 Release version 6.0.1 2016-07-09 17:23:29 -05:00
Nate Riffe
1a15616152 Fix a link syntax error 2016-07-09 17:08:57 -05:00
Nate Riffe
d6188b8f4e Merge pull request #100 from inkblot/rndc-helper
Implement a helper script for zone reloads
2016-07-09 09:09:44 -05:00
Nate Riffe
41197b03e0 Merge pull request #99 from exptom/patch-2
Allow master/slave zones to set forwarders
2016-07-08 19:09:51 -05:00
Nate Riffe
84c06223fd Merge pull request #98 from exptom/patch-1
Fixes for rndc-helper
2016-07-08 18:53:25 -05:00
Tom Ford
9cd83cc317 Allow an empty forwarders {} statement 2016-07-08 15:07:15 +01:00
Tom Ford
bb4f210c44 Allow forwarders to be set for master/slave zones 2016-07-08 15:04:04 +01:00
Tom Ford
34ff2b9491 Don't use sudo (runs as root via puppet anyway) 2016-07-08 14:47:25 +01:00
Tom Ford
84782740dd Need unique name for the rndc reload exec 2016-07-08 14:32:00 +01:00
Nate Riffe
40531e21eb Implement a helper script for zone reloads
It turns out the `rndc` command that was intended to reload a managed zone
wasn't working (see PR #91 for reference) if more than one view included the
zone. The helper script is really just a wrapper around the `rndc` command
itself, it translates its final parameter into a domain/class/view tuple and
pass the leading parameters and the tuple to `rndc`.
2016-07-07 21:15:41 -05:00
Nate Riffe
9091fd6cab Merge pull request #97 from inkblot/fix-require-loaderror
Use a relative path load on LoadError
2016-07-04 18:15:25 -05:00
Nate Riffe
a2c729c881 Use a relative path load on LoadError
Some versions of Puppet suffer from a regression which prevents them from
successfully loading auxilliary code in the module's lib directory. See
https://tickets.puppetlabs.com/browse/SERVER-973
2016-07-04 18:04:43 -05:00
Nate Riffe
0cdd94cf86 Merge pull request #96 from inkblot/allow-transfer-views
Add `allow-transfers` to views
2016-07-04 12:22:13 -05:00
Nate Riffe
de1a021911 Add allow-transfers to views
Views support an `allow-transfer` directive essentially identical to the one in
zones. Copy the code from `manifests/zone.pp` and `templates/zone.conf.erb` to
support it.
2016-07-04 10:18:38 -05:00
Nate Riffe
cd6e0f8b9c Fix the indentation 2016-07-04 09:53:42 -05:00
Nate Riffe
b26915de54 Merge pull request #93 from exptom/allow-explicit-notify
Allow 'explicit' zone notification
2016-07-04 09:51:49 -05:00
Nate Riffe
f0782d0abb Merge pull request #90 from Yuav/patch-1
Update README.md
2016-07-04 09:48:53 -05:00
Nate Riffe
da2a88ec86 Merge branch '6.0-prerelease'
Conflicts:
	metadata.json
2016-07-04 09:48:23 -05:00
Nate Riffe
88481f94fd Finalize the 6.0-prerelease branch 2016-07-04 09:39:51 -05:00
Tom Ford
6236ad7167 Allow 'explicit' zone notification
Allow the 'explicit' value of a zones notify config to be set as well as yes/no.
2016-06-29 16:31:32 +01:00
Jon Skarpeteig
d78a455a01 Update README.md
Fixed typo
2016-05-27 11:25:19 +02:00
Nate Riffe
309ac6c3ae Release version 5.2.2 2016-05-06 15:20:44 -05:00
Nate Riffe
dcbba5a0cb Harmonize default value for also_notify
The template code that processes also_notify is of a kind with the checks and
processing of other optional smart-array values. Make its default an empty
string so that the clause may be properly omitted from a config that doesn't
use it.
2016-05-06 15:18:53 -05:00
Nate Riffe
6decb42f32 Release version 5.2.1 2016-04-20 14:15:56 -05:00
Nate Riffe
9e9462faa3 Merge branch 'fix-view-syntax' 2016-04-20 14:15:24 -05:00
Nate Riffe
50e9764ea4 Merge branch 'fix-view-syntax' into 6.0-prerelease 2016-04-20 14:13:02 -05:00
Nate Riffe
bc34a9881d Add missing end on @servers iteration
Also normalize the indentation. Ruby code is 2-space indented, templated
configuration is tab indented.
2016-04-20 14:11:50 -05:00
Nate Riffe
0f3728da6d Release version 5.2 2016-04-20 11:40:45 -05:00
Nate Riffe
0f4f548a72 Merge branch 'trim-module-data-hierarchy' into 6.0-prerelease 2016-04-20 11:37:39 -05:00
Nate Riffe
89f21715f3 Merge branch 'trim-module-data-hierarchy' 2016-04-20 11:37:26 -05:00
Nate Riffe
c0f47735ea Limit the module data hierarchy to extant tuples 2016-04-20 11:37:00 -05:00
Nate Riffe
05f990bcc9 Merge remote-tracking branch 'hdeadman/moduledata' into 6.0-prerelease 2016-04-20 11:36:03 -05:00
Nate Riffe
bf5af116d2 Merge remote-tracking branch 'hdeadman/moduledata' 2016-04-20 11:35:40 -05:00
Nate Riffe
0532e1cd57 Merge remote-tracking branch 'ocado/empty-zones' into 6.0-prerelease
Conflicts:
	manifests/view.pp
2016-04-20 08:17:51 -05:00
Nate Riffe
dd03f5a559 Merge remote-tracking branch 'ocado/empty-zones'
Conflicts:
	manifests/view.pp
2016-04-20 08:17:27 -05:00
Nate Riffe
1ec9823c0f Merge remote-tracking branch 'ocado/minimal-responses' into 6.0-prerelease
Conflicts:
	templates/view.erb
2016-04-20 08:07:56 -05:00
Nate Riffe
db935f8b86 Merge remote-tracking branch 'ocado/minimal-responses' 2016-04-20 08:05:49 -05:00
Nate Riffe
d50406d0df Merge remote-tracking branch 'ocado/notify-source' into 6.0-prerelease 2016-04-20 08:02:26 -05:00
Nate Riffe
31ef46feb8 Merge remote-tracking branch 'ocado/notify-source' 2016-04-20 08:02:17 -05:00
Nate Riffe
8348f42a17 Merge remote-tracking branch 'hdeadman/forwarderport' into 6.0-prerelease 2016-04-20 07:39:32 -05:00
Nate Riffe
202526e425 Merge remote-tracking branch 'hdeadman/forwarderport' 2016-04-20 07:38:25 -05:00