Puppet Class: role::dnsbox

Defined in:
modules/role/manifests/dnsbox.pp

Overview

Combo role for configuring production dnsN00x machines with recursive DNS, authoritative DNS, and NTP.



3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/role/manifests/dnsbox.pp', line 3

class role::dnsbox {
    system::role { 'dnsbox': description => 'DNS/NTP Site Infra Server' }

    include ::profile::standard
    include ::profile::ntp
    include ::profile::dns::auth
    class { '::profile::dns::recursor':
        # This glues pdns-recursor to gdnsd at the systemd level
        bind_service => 'gdnsd.service',
    }
    # This is the puppet-level glue, to ensure that it operates on these
    # services in the appropriate order to avoid unnecessary mayhem.
    Service['gdnsd'] -> Service['pdns-recursor']
}