advice time please, using foreman/puppet-dns
github.com/theforeman/puppet-dns module. config.pp) line 14 has file validation set validate_cmd. this has worked great for most situations. However when you introduce ACL's or views, they are defined in named.conf, so when validation happens on zones.conf, the views included in named.conf are not present and it fails. I see a few ways to handle this, 1.) validate named.conf only (as that will validate zones.conf, options.conf etc as part of it's include declare, but this means error reporting won't be as granular 2.) try to create a tmp named.conf from the named.conf generation in the module to be loaded before checking options.conf/zones.conf in the staging directory, this looks like it will work but looks messy 3.) turn off validation for zones.conf this feels a sledge hammer approach 4.) something else ? rework the whole way validation and configuration files are broken up ?