summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/resolvconf.pp
blob: ec3ce9e954e34cab458af43575adf86c377cb058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class site_config::resolvconf {
  package { 'bind9':
    ensure => installed,
  }

  $domain_hash = hiera('domain')
  $domain = $domain_hash['public']

  $resolvconf_search = $domain
  $resolvconf_domain = $domain
  $resolvconf_nameservers = '127.0.0.1 # caching-only local bind:87.118.100.175  # http://server.privacyfoundation.de'
  include resolvconf
}