Puppet Class: unbound::config::module_config

Defined in:
manifests/config/module_config.pp

Overview

Class: unbound::config::module_config



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/config/module_config.pp', line 2

class unbound::config::module_config {
  assert_private()

  $dns64_prefix = $unbound::dns64_prefix
  $dns64_synthall = $unbound::dns64_synthall

  if $dns64_prefix {
    file { "${unbound::config_sub_dir}/module-config.conf":
      ensure       => file,
      owner        => 'root',
      group        => $unbound::group,
      mode         => '0640',
      content      => template('unbound/module-config.conf.erb'),
      validate_cmd => $unbound::validate_cmd,
    }
  }
}