summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/modules/site_apt/manifests/preferences/unbound.pp2
-rw-r--r--puppet/modules/site_config/manifests/caching_resolver.pp10
2 files changed, 8 insertions, 4 deletions
diff --git a/puppet/modules/site_apt/manifests/preferences/unbound.pp b/puppet/modules/site_apt/manifests/preferences/unbound.pp
index 6232fa10..6da964f9 100644
--- a/puppet/modules/site_apt/manifests/preferences/unbound.pp
+++ b/puppet/modules/site_apt/manifests/preferences/unbound.pp
@@ -1,7 +1,7 @@
class site_apt::preferences::unbound {
apt::preferences_snippet { 'unbound':
- package => 'libunbound unbound*',
+ package => 'libunbound* unbound*',
release => "${::lsbdistcodename}-backports",
priority => 999,
before => Class['unbound::package'];
diff --git a/puppet/modules/site_config/manifests/caching_resolver.pp b/puppet/modules/site_config/manifests/caching_resolver.pp
index 590551b0..b37cf775 100644
--- a/puppet/modules/site_config/manifests/caching_resolver.pp
+++ b/puppet/modules/site_config/manifests/caching_resolver.pp
@@ -14,14 +14,18 @@ class site_config::caching_resolver {
file {
'/etc/unbound/conf.d':
- ensure => directory,
- owner => root, group => root, mode => '0755',
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => '0755',
require => Package['unbound'];
'/etc/unbound/conf.d/placeholder':
ensure => present,
content => '',
- owner => root, group => root, mode => '0644';
+ owner => root,
+ group => root,
+ mode => '0644';
}
class { 'unbound':