-
Notifications
You must be signed in to change notification settings - Fork 112
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 14.4.5 #218
Comments
Which version of ajjahn-dns are you using? |
Also, please include your |
version 2.1.0 class profile::nameserver( Build recordscreate_resources('dns::server::options', $options) |
inside nameserver.yaml Its not the module , it was how I am calling dns::server::options |
You can't change it based on OSfamily entirely within Hiera - you need puppet logic. What you can do is move the options "up" a level and feed it in properly in the profile:
|
Seems that the params class for my ubuntu server is looking towards the RedHat case?
Error: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /etc/named/named.conf.options20170430-6632-r7aqg0.lock at /etc/puppetlabs/code/environments/develop/modules/dns/manifests/server/options.pp:198
Error: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /etc/named/named.conf.options20170430-6632-r7aqg0.lock at /etc/puppetlabs/code/environments/develop/modules/dns/manifests/server/options.pp:198
Wrapped exception:
No such file or directory @ dir_s_mkdir - /etc/named/named.conf.options20170430-6632-r7aqg0.lock
Error: /Stage[main]/Profile::Nameserver/Dns::Server::Options[/etc/named/named.conf.options]/File[/etc/named/named.conf.options]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /etc/named/named.conf.options20170430-6632-r7aqg0.lock at /etc/puppetlabs/code/environments/develop/modules/dns/manifests/server/options.pp:198
Notice: /Stage[main]/Dns::Server::Service/Service[bind9]: Dependency File[/etc/named/named.conf.options] has failures: true
Warning: /Stage[main]/Dns::Server::Service/Service[bind9]: Skipping because of failed dependencies
server facts:
os => {
architecture => "amd64",
distro => {
codename => "trusty",
description => "Ubuntu 14.04.5 LTS",
id => "Ubuntu",
release => {
full => "14.04",
major => "14.04"
}
},
family => "Debian",
hardware => "x86_64",
name => "Ubuntu",
release => {
full => "14.04",
major => "14.04"
},
selinux => {
enabled => false
}
The text was updated successfully, but these errors were encountered: