Comments (7)
I think we (by default) leave /etc/named.conf alone, I think most distros include more from there?
What distro are you on?
from puppet-dns.
Centos 6 - it does not include /etc/named/ by default. Is there a way I can force your module to purge that file, or do I need to modify it myself (started) and submit a PR?
from puppet-dns.
file { '/etc/named.conf': ensure => absent }
But no, currently the module does not manage that file.
If you think this module should manage that file, then PR please.
But per params.pp:
https://github.com/ajjahn/puppet-dns/blob/master/manifests/server/params.pp#L17
It looks like on RedHat distros we do manage it?
from puppet-dns.
I saw the entry in params.pp, but it was most certainly leaving the main conf file alone. Its not just me having a special moment (which did happen only yesterday), one of my colleagues has confirmed it.
I've got everything working in our environment, I'm just cleaning it all up make it acceptable for a PR.
Edit: more specifically, it was controling the file, but there was no entry for contents of that file. I have not checked on Debian, but on RHEL it does not include anything in the /etc/named/
folder.
from puppet-dns.
The dns::server::config module references the config file:
file { $cfg_file:
ensure => present,
owner => $owner,
group => $group,
mode => '0644',
require => [
File[$cfg_dir],
Class['dns::server::install']
],
notify => Class['dns::server::service'],
}
Unfortunately, because of this, it also means we can't fix the real named.conf
file elsewhere in puppet because it's already defined here. The RedHat version of named.conf
is automatically set up to be a local-caching-only server, which obviously won't work for a real dns server. Is there any progress on the named.conf PR?
from puppet-dns.
Has this been fixed yet. looks like named.conf.options doesn't get created when used on RH based systems (RH, Centos, Fedora, ScientificLinux).
from puppet-dns.
I believe this is fixed thanks to #102
puppet-dns/templates/named.conf.erb
Line 4 in 6f649f6
from puppet-dns.
Related Issues (20)
- Incorrect data_dir on Ubuntu HOT 4
- Cannot set allow-update-forwarding
- working_dir not expanding in template
- Cannot set empty forwarders for zone HOT 2
- Add support for max-ncache-ttl and max-cache-ttl options.
- $cfg_dir has no effect with dns::server::options HOT 3
- No support for logging HOT 1
- Ubuntu 14.4.5 HOT 5
- Host `@` should be treated as empty in PTR record HOT 2
- using views HOT 1
- Split Horizon HOT 4
- static path in named.conf.default-zones
- Some dependencies need to be updated HOT 2
- dnssec_validation ignored when dnssec_enable is false
- Hiera Integration HOT 5
- dosent work on Centos 7 HOT 1
- Concat Issue HOT 5
- Debian 9 compatibility HOT 1
- Concat is a very old version HOT 2
- Broken for Puppet 6.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-dns.