Puppet Class: designate::agent::bind9

Defined in:
manifests/agent/bind9.pp

Overview

Class designate::agent::bind9

DEPRECATED !! Configure bind9 as agent backend

Parameters

rndc_host

(Optional) RNDC Host Defaults to $facts.

rndc_port

(Optional) RNDC Port. Defaults to 953.

rndc_config_file

(Optional) Location of the rndc configuration file. Defaults to ‘/etc/rndc.conf’

rndc_key_file

(Optional) Location of the rndc key file. Defaults to ‘/etc/rndc.key’

rndc_timeout

(Optional) RNDC command timeout. Defaults to $facts.

zone_file_path

(Optional) Path where zone files are stored. Defaults to $facts.

query_destination

(Optional) Host to query when finding zones. Defaults to $facts.

Parameters:

  • rndc_host (Any) (defaults to: $facts['os_service_default'])
  • rndc_port (Any) (defaults to: $facts['os_service_default'])
  • rndc_config_file (Any) (defaults to: '/etc/rndc.conf')
  • rndc_key_file (Any) (defaults to: '/etc/rndc.key')
  • rndc_timeout (Any) (defaults to: $facts['os_service_default'])
  • zone_file_path (Any) (defaults to: $facts['os_service_default'])
  • query_destination (Any) (defaults to: $facts['os_service_default'])


36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'manifests/agent/bind9.pp', line 36

class designate::agent::bind9 (
  $rndc_host         = $facts['os_service_default'],
  $rndc_port         = $facts['os_service_default'],
  $rndc_config_file  = '/etc/rndc.conf',
  $rndc_key_file     = '/etc/rndc.key',
  $rndc_timeout      = $facts['os_service_default'],
  $zone_file_path    = $facts['os_service_default'],
  $query_destination = $facts['os_service_default'],
) {

  include designate::deps

  warning('The agent framework has been deprecated.')

  designate_config {
    'backend:agent:bind9/rndc_host'         : value => $rndc_host;
    'backend:agent:bind9/rndc_port'         : value => $rndc_port;
    'backend:agent:bind9/rndc_config_file'  : value => $rndc_config_file;
    'backend:agent:bind9/rndc_key_file'     : value => $rndc_key_file;
    'backend:agent:bind9/rndc_timeout'      : value => $rndc_timeout;
    'backend:agent:bind9/zone_file_path'    : value => $zone_file_path;
    'backend:agent:bind9/query_destination' : value => $query_destination;
  }
}