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

Ubuntu 16.04 #67

Open
cliff-wakefield opened this issue Aug 7, 2016 · 2 comments
Open

Ubuntu 16.04 #67

cliff-wakefield opened this issue Aug 7, 2016 · 2 comments

Comments

@cliff-wakefield
Copy link

Under Ubuntu 16.04 bind9 package uses /etc/bind for its configuration.

named.conf and all of the zone db files are located there.

So I have wasted hours trying to use my existing puppet code using this module that works fine under RHEL 6 & 7, only to discover puppet was writing out to /etc/named.conf but the ubuntu binaries appear to check for /etc/bind/named.conf.

The module defaults to /var/named, which is fine but is RHEL specific.

bind::server::conf doesn't use params in anyway.

The default values for $dump_file, $statistics_file, $memstatistics_file should all be relative to $directory, because even if you overwrite $directory it still tries to write those files out to the preferred /var/named directory.

@mattfahrner
Copy link

mattfahrner commented Jan 13, 2017

Ditto here. Had to override as follows:

directory => '/etc/bind',
dump_file => 'cache_dump.db',
statistics_file => 'named_stats.txt',
memstatistics_file => 'named_mem_stats.txt'

Same problem on Raspberry Pi...

@mcblum
Copy link

mcblum commented Dec 11, 2017

@mattfahrner did you get this to work? I made the same overrides but for whatever reason, it's not putting the files in the correct directory.

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

3 participants