resolve_conf
Table of Contents
Description
Manage /etc/resolv.conf
on AIX, Solaris, RHEL and FreeBSD with
Puppet.
Setup
What resolve_conf affects
-
Manages the
/etc/resolv.conf
file -
Restarts the
dns/client
on Solaris if the file is changed
Usage
Basic
include resolv_conf
Use Google DNS
Customised
class { "resolv_conf":
search => "megacorp.com",
nameservers => ["10.0.0.1", "10.0.4.4"],
}
Set a search domain and use specific nameservers.
Reference
Reference documentation is generated directly from source code using puppet-strings. You may regenerate the documentation by running:
bundle exec puppet strings
The documentation is no substitute for reading and understanding the module source code, and all users should ensure they are familiar and comfortable with the operations this module performs before using it.
Limitations
-
Assumes that cron itself is already installed
-
Does not attempt to manage the cron services
-
Not supported by Puppet, Inc.
Development
PRs accepted :)
Testing
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