Manage resolv.conf via Puppet
If you find this module useful, send some bitcoins to 1Na3YFUmdxKxJLiuRXQYJU2kiNqA3KY2j9
- Puppet >= 4.9.3
- Last version supporting Puppet 3: v3.3.0
class { 'resolv_conf':
nameservers => ['192.168.1.1', '192.168.2.2', '192.168.3.3'],
}
class { 'resolv_conf':
nameservers => ['192.168.1.1', '192.168.2.2', '192.168.3.3'],
domainname => 'different.example.com',
}
class { 'resolv_conf':
nameservers => ['192.168.1.1', '192.168.2.2', '192.168.3.3'],
searchpath => ['sub1.example.com', 'sub2.example.com'],
}
- nameservers: Array. Required. List of nameservers
- domainname: String. Default: $::domain
- searchpath: String or Array. List of search domains. Default: []
- options: Array. Default: empty