Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$cfg_dir has no effect with dns::server::options #212

Open
lingfish opened this issue Apr 11, 2017 · 3 comments
Open

$cfg_dir has no effect with dns::server::options #212

lingfish opened this issue Apr 11, 2017 · 3 comments

Comments

@lingfish
Copy link

lingfish commented Apr 11, 2017

I think this line should be moved into the parameter section.

Even then though, I have to "double" set $cfg_dir (in my hiera, I'm using auto parameter lookup), at dns::server::cfg_dir level, and in options.

What results is this:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/tmp/bind/named.conf.options] { require => File[/etc/bind] }, because File[/etc/bind] doesn't seem to be in the catalog

Because here is pulling the default params $cfg_dir, and not one I've set.

@lingfish
Copy link
Author

Same issue now when adding a zone (when setting $cfg_dir to, say, '/tmp/bind'):

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/var/lib/puppet/concat/_etc_bind_named.conf.local/fragments/3_named.conf.local.ad.gsoa.ddau.include] { notify => Exec[concat_/etc/bind/named.conf.local] }, because Exec[concat_/etc/bind/named.conf.local] doesn't seem to be in the catalog

@solarkennedy
Copy link
Collaborator

I think you are correct. Can you make a PR?

@lingfish
Copy link
Author

Being defined types, I'm not yet sure on how to handle it. I'll have a think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants