Puppet Class: resolv_conf
- Defined in:
- manifests/init.pp
Overview
3 4 5 6 7 8 9 10 11 12 |
# File 'manifests/init.pp', line 3
class resolv_conf ($domain, $nameservers, $timeout = 2, $attempts = undef, $rotate = true, $options = undef) {
file { 'resolv.conf':
ensure => file,
path => '/etc/resolv.conf',
owner => 'root',
group => 'root',
mode => '0644',
content => template('resolv_conf/resolv.conf.erb'),
}
}
|