Puppet Class: named::caching::hints

Defined in:
manifests/caching/hints.pp

Summary

Determines what to add to the /var/named/named.ca root hints file.

Overview

Parameters:

  • content (String) (defaults to: '')

    Can be set to arbitrary content of your choosing. This will be included verbatim in the named.ca file.

  • use_defaults (Boolean) (defaults to: false)

    Set to true if you wish to use the default values for the root hints file. This is recommended if you are not running within an intranet.

Author:



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/caching/hints.pp', line 13

class named::caching::hints (
  String  $content      = '', # lint:ignore:empty_string_assignment
  Boolean $use_defaults = false
) {

  include named::caching

  file { '/var/named/chroot/var/named/named.ca':
    ensure  => 'file',
    owner   => 'root',
    group   => 'named',
    mode    => '0640',
    content => template('named/named.ca.erb'),
    notify  => Class['named::service']
  }
}