- Description
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Manage /etc/resolv.conf
on AIX, Solaris, RHEL, Debian and FreeBSD with Puppet.
- Manages the
/etc/resolv.conf
file - Restarts the
dns/client
on Solaris if the file is changed
include resolv_conf
Use Google DNS
class { "resolv_conf":
search => "megacorp.com",
nameservers => ["10.0.0.1", "10.0.4.4"],
}
Set a search domain and use specific nameservers.
resolv_conf
- Manage the/etc/resolv.conf
file
- Assumes that cron itself is already installed
- Does not attempt to manage the cron services
- Not supported by Puppet, Inc.
PRs accepted :)
This module supports testing using PDQTest.
Test can be executed with:
bundle install
bundle exec pdqtest all
See .travis.yml
for a working CI example