class resolver {
# DNS resolver
case $resolvconf_nameservers {
- '': { }
+ '': {
+ package { 'resolvconf':
+ ensure => present,
+ }
+
+ file { '/etc/resolv.conf':
+ ensure => '/etc/resolvconf/run/resolv.conf',
+ require => Package['resolvconf'],
+ }
+ }
default: {
$resolvconf_domain = "$domain"
$resolvconf_search = "$fqdn"
'msmtp', 'mairix', 'konqueror', 'bittorrent',
'irssi-scripts', 'links', 'twinkle', 'bittornado',
'rtorrent', 'iceweasel', 'irssi-plugin-otr', 'transmission',
- 'openvpn', 'resolvconf' ]:
+ 'openvpn' ]:
ensure => installed,
}