diff options
author | Micah Anderson <micah@leap.se> | 2014-05-22 12:20:42 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2014-05-22 13:11:54 -0400 |
commit | 4c4f8fd55a3d4a9e08ebaf8881b04ada931db007 (patch) | |
tree | 5718f2afa467599a38c1fd39fb4885fe81e03c92 | |
parent | 5c973c39473c29fe3231a46b58c485c899fb3022 (diff) |
lint cleanup of site_config::caching_resolver
Change-Id: I3f6a4db26e064a520a08822cf23fc3288b31af62
-rw-r--r-- | puppet/modules/site_apt/manifests/preferences/unbound.pp | 2 | ||||
-rw-r--r-- | puppet/modules/site_config/manifests/caching_resolver.pp | 10 |
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': |