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.
This module has been tested to work on the following systems with Puppet v3 (with and without the future parser) and Puppet v4 with Ruby versions 1.8.7, 1.9.3, 2.0.0, 2.1.0 and 2.3.1.
- EL 5
- EL 6
- EL 7
- Debian 6
- SLES 10
- SLES 11
- Solaris 10
- Ubuntu 10.04 LTS (Lucid Lynx)
- Ubuntu 12.04 LTS (Precise Pangolin)
See RESOLV.CONF(5) for more information regarding /etc/resolv.conf settings
Array of name servers.
- Default: Google's public name servers
Array of options.
- Default: 'rotate' and 'timeout:1'
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 setting. See search.
- Default: none
Array of sortlist addresses.
- Default: none
Path to resolv.conf.
- Default: '/etc/resolv.conf'
ensure attribute for file resource. Valid values are 'file', 'present' and 'absent'.
- Default: file
resolv.conf's owner.
- Default: 'root'
resolv.conf's group.
- Default: 'root'
resolv.conf's mode.
- Default: '0644'