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

Improving the way configuration options are handled #24

Closed
therobot opened this issue Dec 18, 2014 · 5 comments
Closed

Improving the way configuration options are handled #24

therobot opened this issue Dec 18, 2014 · 5 comments

Comments

@therobot
Copy link
Contributor

PowerDNS refuses to start if there is a backend specific option and that backend is not installed.

Currently default attributes such as node['authoritative']['config']['pipe_command'] make the server refuse to start when installing other backends but not pipe backend.

A more intelligent way of dealing with this behavior is desired.

@tarak
Copy link

tarak commented Jan 14, 2015

+1. Forking it is...

@martinisoft
Copy link
Contributor

@tarak If you happen to come up with a patch, please submit a pull request 👍

@aeden
Copy link
Member

aeden commented Jan 14, 2015

I believe the consensus in the powerdns IRC channel was to default to the bind backend.

@tarak
Copy link

tarak commented Jan 14, 2015

@martinisoft I would just delete the line

default['pdns']['authoritative']['config']['pipe_command'] = '/opt/pdns-3.4.1/modules/pipebackend/backend.pl'

in the file

attributes/authoritative.rb

I think the best way to use this cookbook is to document the requirement of setting the attribute

default['pdns']['authoritative']['config']['launch']

to the appropriate backend that one wants to use. I do this in a wrapper cookbook and, in my case, this is where I configure the gpgsql backend. If you still want a PR please confirm...

@martinisoft martinisoft modified the milestone: Version 2.0 Jan 22, 2015
@therobot
Copy link
Contributor Author

I'm closing this issue, the newest 3.0 version on the cookbook provides a new way of configuring PowerDNS which deprecates this method.

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

No branches or pull requests

4 participants