Commit Graph

312 Commits

Author SHA1 Message Date
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
Ahmad Jagot
2b8b7ccc41 Add allow-empty-zones support.
Conflicts:
	manifests/view.pp
	templates/view.erb
2016-04-20 13:37:20 +01:00
Nate Riffe
4d2d2f63a8 Merge branch 'filter-aaaa-on-v4-option' into 6.0-prerelease 2016-04-20 07:33:18 -05:00
Nate Riffe
f3df39fcf6 Merge branch 'filter-aaaa-on-v4-option' 2016-04-20 07:31:52 -05:00
Jean-Francois Roche
badd25b0e6 Add option to filter ipv6 address on ipv4
refs https://kb.isc.org/article/AA-00576/0/Filter-AAAA-option-in-BIND-9-.html
2016-04-20 07:30:54 -05:00
Alex Frolkin
e579b5479b Support minimal-responses setting on views 2016-04-15 15:32:09 +01:00
Alex Frolkin
0f5d3e6019 Add support for notify-source and also-notify
Conflicts:
	templates/view.erb
2016-04-15 15:29:31 +01:00
Hal Deadman
dfa697a1b6 update to use puppet 4 built-in support for module data
https://docs.puppetlabs.com/puppet/latest/reference/lookup_quick_module.html
2016-02-12 09:58:59 -05:00
Hal Deadman
aadc1f2f89 support forwarding a zone to a dns server on port other than 53
e.g. Consul runs on 8600
https://www.consul.io/docs/guides/forwarding.html
zone "consul" IN {
  type forward;
  forward only;
  forwarders { 127.0.0.1 port 8600; };
};
2016-02-10 10:47:12 -05:00
Nate Riffe
1aebf94b7f Release version 5.1.2 2016-01-29 07:54:42 -06:00
Nate Riffe
31cc2ada68 Merge branch 'root-zone-naming' into 6.0-prerelease 2016-01-29 07:52:45 -06:00
Nate Riffe
0bfe0b70db Merge pull request #79 from inkblot/root-zone-naming
Root zone naming
2016-01-29 07:45:28 -06:00
Nate Riffe
43211dc602 Merge branch 'redhat-default-zones' into 6.0-prerelease 2016-01-29 07:33:12 -06:00
Nate Riffe
44b4b45761 Add option to disable default zone inclusion
By setting bind::include_default_zones to false, a user can suppress the
inclusion of the default definitions for the root hints zone and RFC 1912
zones. These are supplied with the BIND package's default configuration on both
Debian and RedHat derived systems. These zones are necessary for a resolver,
but may be omitted if the server acts strictly as an authoritative server.
2016-01-29 07:32:54 -06:00
Nate Riffe
91c883cfd9 Fix source path 2016-01-29 07:32:54 -06:00
Nate Riffe
57002c31a4 Include the default zones on RedHat
RedHat's default zones are baked into the stock named.conf, which the module's
template completely rewrites. Since the module is extremely view-based, and the
Debian default-zones are repositioned into the zones, let's take those defaults
out of the stock named.conf, build a configuration file out of them and include
it in the view just the same.
2016-01-29 07:32:54 -06:00
Nate Riffe
0b674de1ed Just one conditional 2016-01-29 07:30:57 -06:00
Nate Riffe
34478d25da Use an alternate name for the '.' zone
The root zone's domain is `.` but this means something special in the
filesystem which causes an error when creating the zone file.
2016-01-29 07:30:57 -06:00