puppet-dns icon indicating copy to clipboard operation
puppet-dns copied to clipboard

Broken for Puppet 6.x

Open gremble opened this issue 6 years ago • 1 comments

This module won't run on Puppet 6.x, but the fix is easy. Error produced is:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: This Function Call is unacceptable as a top level construct in this location (file: /etc/puppetlabs/code/modules/dns/manifests/server/options.pp, line: 111, column: 1) on node ns3.thepwgroup.net

I moved:

include dns::server::params

from /manifests/server/options.pp to manifests/init.pp and it now appears to all work.

gremble avatar Feb 27 '19 14:02 gremble

I've noticed there's a pull request #246 with another fix for this. Can this be pulled?

gremble avatar Feb 27 '19 14:02 gremble