Puppet Class: profile::resolving

Defined in:
modules/profile/manifests/resolving.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • timeout (Integer[1,30]) (defaults to: lookup('profile::resolving::timeout'))
  • ndots (Integer[1,5]) (defaults to: lookup('profile::resolving::ndots'))
  • attempts (Integer[1,5]) (defaults to: lookup('profile::resolving::attempts'))
  • disable_resolvconf (Boolean) (defaults to: lookup('profile::resolving::disable_resolvconf'))
  • disable_dhcpupdates (Boolean) (defaults to: lookup('profile::resolving::disable_dhcpupdates'))
  • domain_search (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::resolving::domain_search'))
  • nameservers (Array[Stdlib::Host]) (defaults to: lookup('profile::resolving::nameservers'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/resolving.pp', line 2

class profile::resolving (
    Integer[1,30]       $timeout             = lookup('profile::resolving::timeout'),
    Integer[1,5]        $ndots               = lookup('profile::resolving::ndots'),
    Integer[1,5]        $attempts            = lookup('profile::resolving::attempts'),
    Boolean             $disable_resolvconf  = lookup('profile::resolving::disable_resolvconf'),
    Boolean             $disable_dhcpupdates = lookup('profile::resolving::disable_dhcpupdates'),
    Array[Stdlib::Fqdn] $domain_search       = lookup('profile::resolving::domain_search'),
    Array[Stdlib::Host] $nameservers         = lookup('profile::resolving::nameservers'),
){
    class {'resolvconf':
        domain_search       => $domain_search,
        nameservers         => $nameservers,
        timeout             => $timeout,
        attempts            => $attempts,
        ndots               => $ndots,
        disable_resolvconf  => $disable_resolvconf,
        disable_dhcpupdates => $disable_resolvconf,
    }
}