Forge Home

dnsclient

Manage resolver

614,854 downloads

5,150 latest version

4.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 6.0.0 (latest)
  • 5.0.0
  • 4.1.0
  • 3.6.0
  • 3.5.2
  • 3.5.1
  • 3.5.0 (deleted)
  • 3.4.0
  • 3.3.0
  • 3.2.0
  • 3.1.1
  • 3.1.0
  • 3.0.5
  • 3.0.4
  • 3.0.1
  • 2.0.0
  • 1.0.1 (deleted)
  • 1.0.0 (deleted)
released Sep 15th 2014
This version is compatible with:
  • Puppet Enterprise >= 3.0.0
  • Puppet >= 3.0.0
  • , , , , , , SLES, SLED,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ghoneycutt-dnsclient', '3.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ghoneycutt-dnsclient
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ghoneycutt-dnsclient --version 3.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

ghoneycutt/dnsclient — version 3.1.1 Sep 15th 2014

dnsclient module

Build Status

This module manages /etc/resolv.conf and its various options.

It makes use of Hiera (http://github.com/puppetlabs/hiera) and demonstrates a new design pattern in module development that allows for totally data driven code with no modifications to the module itself as a guiding principle.

Compatibility

This module has been tested to work on the following systems with Puppet v3.x and Ruby versions 1.8.7 and 1.9.3.

  • EL 5
  • EL 6
  • Debian 6
  • SLES 10
  • SLES 11
  • Solaris 10
  • Ubuntu 10.04 LTS (Lucid Lynx)
  • Ubuntu 12.04 LTS (Precise Pangolin)

Parameters

See RESOLV.CONF(5) for more information regarding /etc/resolv.conf settings

nameservers

Array of name servers.

  • Default: Google's public name servers

options

Array of options.

  • Default: 'rotate' and 'timeout:1'

search

Array of domains for search list. This is mutually exclusive with domain. If both are set, search will be used and domain will be ignored.

  • Default: none

domain

Domain setting. See search.

  • Default: none

sortlist

Array of sortlist addresses.

  • Default: none

resolver_config_file

Path to resolv.conf.

  • Default: '/etc/resolv.conf'

resolver_config_file_ensure

ensure attribute for file resource. Valid values are 'file', 'present' and 'absent'.

  • Default: file

resolver_config_file_owner

resolv.conf's owner.

  • Default: 'root'

resolver_config_file_group

resolv.conf's group.

  • Default: 'root'

resolver_config_file_mode

resolv.conf's mode.

  • Default: '0644'