puppet-bind
puppet-bind copied to clipboard
split config files in directory
It would be very convenient to be able to split zone config files separatelly, which makes everything easier to maintain and read. Having all zones defined in /etc/named/[zone].conf, loaded by /etc/named.conf would be very usefull.
I've tried declaring many instances of bind::server::conf {'/etc/named/.zonea.conf' .... but this approach is not working, as every zone inherits the whole /etc/named.conf parameters and Bind complains (options, acls, ... are redeclared in every file). It would n't be that complicated to add a parameter "split_zone_config" and use another template for this.