Commit Graph

286 Commits

Author SHA1 Message Date
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
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
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
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
bf5af116d2 Merge remote-tracking branch 'hdeadman/moduledata' 2016-04-20 11:35:40 -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
db935f8b86 Merge remote-tracking branch 'ocado/minimal-responses' 2016-04-20 08:05:49 -05:00
Nate Riffe
31ef46feb8 Merge remote-tracking branch 'ocado/notify-source' 2016-04-20 08:02:17 -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
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
0bfe0b70db Merge pull request #79 from inkblot/root-zone-naming
Root zone naming
2016-01-29 07:45:28 -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
Nate Riffe
c024a7fc5d Merge pull request #71 from nerdlich/sshfp
Fixed TLSA support and added support for SSHFP record type
2016-01-29 07:28:34 -06:00
Nate Riffe
9a06c0a30b Release version 5.1.1 2016-01-29 06:42:03 -06:00
Nate Riffe
d605d38d16 Merge pull request #78 from zipkid/77_bind_updater
fix #77 bind::updater on server
2016-01-29 06:38:27 -06:00
Nate Riffe
b846945f2d Merge pull request #68 from inkblot/disable-autorequire-for-1.8.7
Check for API support for autorequire
2016-01-29 06:37:54 -06:00
Nate Riffe
c4918b7295 Flip the assumption
If `Socket.ip_address_list` doesn't exist, then assume the dependency.
2016-01-29 06:30:44 -06:00
Nate Riffe
2fb9d23c01 Check for API support for autorequire
`Socket.ip_address_list` is a new addition to ruby 1.9. Maintain support for
ruby 1.8.7 by making the new autorequire feature of `resource_record`
conditional on the existence of the required API.
2016-01-29 06:30:44 -06:00
Stefan - Zipkid - Goethals
12bda76ab9 - fix conflicts when using bind::updater on all nodes. 2016-01-27 09:49:31 +01:00
Nate Riffe
ba06763b96 Release version 5.1.0 2016-01-20 19:22:22 -06:00
Nate Riffe
4f7f17c924 Merge pull request #70 from inkblot/default-zones-warning
Add upgrade warnings for Red Hat
2016-01-20 19:21:03 -06:00
Nate Riffe
ae3bfa7f1b Add warnings and safety checks and documentation
The changes in the `redhat-default-zones` branch, when released, may cause
upgrade difficulties for Red Hat system administrators. Try to ease the
transition.
2016-01-19 07:44:30 -06:00
Nate Riffe
d5e1b19b1a Merge pull request #75 from inkblot/puppet-4.0
Add testing on 3.8.0 and 4.0.0
2016-01-19 07:42:22 -06:00
Nate Riffe
33242c88b8 Merge pull request #74 from inkblot/validate-module-data
Validate module data
2016-01-19 07:29:16 -06:00
Nate Riffe
f6cc1e03e9 Add missing quote 2016-01-19 06:40:54 -06:00
Nate Riffe
ec67ec92b5 Reformat README and add troubleshooting 2016-01-18 20:41:12 -06:00
Nate Riffe
0388e91dc6 Try to validate that module-data is working
`bind::defaults::supported` should always have a boolean value. If it does not,
then this means either 1) user error (e.g. the user defined some other value
for the key) or 2) module_data is not functioning correctly.
2016-01-12 20:03:14 -06:00
Nate Riffe
b854c11e2e Add testing on 3.8.0 and 4.0.0
Also remove a few in-between older versions. Keep the oldest.
2016-01-12 19:35:40 -06:00
Thomas Sturm
fbb7e3c7d7 Fixed TLSA support and added support for SSHFP record type 2016-01-11 21:42:42 +01:00
Nate Riffe
27f253354b Fix some odd formatting and outdated info
How did the description get turned into a title? That's weird. Also, `cachedir` and `confdir` are no longer parameters of the `bind` class.
2016-01-06 20:56:57 -06:00
Nate Riffe
b9415ff2f7 Release version 5.0.1 2015-12-27 09:45:57 -06:00
Nate Riffe
7758226ed8 Merge pull request #66 from inkblot/autorequire-local-service
When a record is local, require the service
2015-12-27 09:41:26 -06:00
Nate Riffe
6d655fbfbc When a record is local, require the service 2015-12-27 09:22:20 -06:00
Nate Riffe
dddbe28cb9 Release version 5.0.0 2015-12-26 11:03:32 -06:00
Nate Riffe
4f04a1f066 Merge pull request #65 from inkblot/defaults-not-params
Turn `params` into `defaults` and formalize it
2015-12-26 10:22:38 -06:00
Nate Riffe
3bfcc19a3e Turn params into defaults and formalize it
The `params` vs. `bind` class distinction has been blurry for a long time. I'm
formalizing it.

`params` is now `defaults` and its purpose is to gather platform-specific
variation into a single scope. These variables are related to situating a BIND
server on a particular platform and it should not ever be necessary or perhaps
even possible to change them as a matter of preference. Rather, correct values
are function of e.g. `$osfamily` or `$operatingsystem`.

The parameters of the `bind` class are limited to those that control the
server's feature set. These parameters *are* matters of preference and/or
purpose, rather than platform.

Also, I have taken some care to develop a convention for direct references to
qualified parameters where they are re-scoped into the local scope centrally at
the top first, and subsequent references are to the local value. This should
minimize future code churn and also aid readability.
2015-12-26 10:06:24 -06:00
Nate Riffe
07a7aca153 Merge pull request #64 from inkblot/fix-updater-warnings
Put confdir in the params class, and more..
2015-12-26 08:53:07 -06:00