This module configures your resolv.conf file. It is compliant with both puppet 2.7+ and 3+, and has been tested for quality using puppet-lint and rspec-puppet.
If you're using librarian-puppet, add a line to your Puppetfile
:
mod 'justinclayton/resolv', '1.x'