A puppet module that configures the resolv.conf and hosts on a Linux machine. It also includes a definition (dns::peerdns) which will remove RHEL's DHCP configuration that pulls DNS config from DHCP.
Generic install
class { 'dns': }
Remove PEERDNS from eth0
dns::peerdns { 'eth0': }
Only tested on CentOS 6
License:
Released under the Apache 2.0 licence
- Fork it
- Create a topic branch
- Improve/fix (with spec tests)
- Push new topic branch
- Submit a PR
- Enjoy your awesomeness