Commit 46ee70ea authored by Bill MacAllister's avatar Bill MacAllister
Browse files

Fix Livermore DNS server support.

parent d867bf95
release/003.012 (2014-02-12)
Fix doubly defined class and add missing in the dns support
used by Livermore servers. (whm)
release/003.011 (2014-02-12)
Fix syntax error specification of preferences file for rsyslog.
......@@ -5,8 +10,8 @@ release/003.011 (2014-02-12)
release/003.010 (2014-02-11)
Add an apt preferences file to use the rsyslog version from
backports. Remove preferences installation from the syslog
Add an apt preferences file to use the rsyslog version from
backports. Remove preferences installation from the syslog
module. (whm)
release/03.009 (2014-02-10)
......
......@@ -8,7 +8,7 @@ class base::dns {
class base::dns::cache inherits base::dns {
include base::daemontools,
base::dns::cache_packages
Base::Dns::Resolv_conf[$::fqdn] { dns_cache => true }
}
......@@ -27,19 +27,22 @@ class base::dns::cache_packages {
}
}
# This class is for servers at Livermore. The resolv.conf puts the
# Livermore dns server first in the search list.
# These classes are for servers at Livermore. The resolv.conf puts
# the Livermore dns server first in the search list.
class base::dns::dr inherits base::dns {
Base::Dns::Resolv_conf[$::fqdn] { first_dns_server => '204.63.227.68' }
}
class base::dns::cache inherits base::dns {
include base::daemontools,
base::dns::cache_packages
class base::dns::dr inherits base::dns {
Base::Dns::Resolv_conf[$::fqdn] { first_dns_server => '204.63.227.68' }
Base::Dns::Resolv_conf[$::fqdn] {
dns_cache => true,
first_dns_server => '204.63.227.68',
}
}
# This class is for domain name servers.
# This class is for domain name servers.
class base::dns::dns-server inherits base::dns {
Base::Dns::Resolv_conf[$::fqdn] { is_dns_server => ture }
......@@ -82,5 +85,5 @@ define base::dns::resolv_conf (
file { '/etc/resolv.conf':
ensure => $ensure,
content => template('base/dns/etc/resolv.conf.erb'),
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment