Version information
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 3.0.0 < 5.0.0
- SLES, SLED, , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'ghoneycutt-dnsclient', '3.5.2'
Learn more about managing modules with a PuppetfileDocumentation
dnsclient module
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 (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)
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'
3.5.2 - 2016-10-12
- Explicitly support puppet-lint v2
3.5.1 - 2016-08-31
- No changes, just another release to appease an issue with the Forge.
3.5.0 - 2016-08-31
- Add support for Ruby v2.3.1
3.4.0 - 2015-05-27
- Support Puppet v4 and v3 with future parser
3.0.4 - 2013-06-08 Garrett Honeycutt code@garretthoneycutt.com
- Fix warnings by using @ in front of variables in template
- .fixtures.yml is tracking correct version of puppetlabs/stdlib
- Drop Puppet v2.6 from travis-ci
- anders-larsson updates README to document support for SLES 10
- anders-larsson updates README to document support for all EL, not just CentOS
3.0.1 - 2013-03-16 Garrett Honeycutt code@garretthoneycutt.com
- fixed spec bug relating to lack of .fixtures.yml
- cleaned up testing framework
3.0.0 - 2013-03-16 Garrett Honeycutt code@garretthoneycutt.com
- Switched to semantic versioning - http://semver.org
- Implemented new design pattern that manages data with Hiera
- Truly portable module! Code is completely data driven, so you can make changes through Hiera and never have to edit the code itself.
2.0.0 - 2011-09-09 Garrett Honeycutt garrett@puppetlabs.com
- Implemented design pattern based on http://www.puppetlabs.com/blog/design-pattern-for-dealing-with-data/
1.0.1 - 2010-09-24 Garrett Honeycutt code@garretthoneycutt.com
- Added documentation
1.0.0 - 2010-06-24 Garrett Honeycutt code@garretthoneycutt.com
- Initial release
Dependencies
- puppetlabs/stdlib (>= 4.6.0 < 6.0.0)
Copyright (C) 2010-2016 Garrett Honeycutt <code@garretthoneycutt.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.