From 4c4f8fd55a3d4a9e08ebaf8881b04ada931db007 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 22 May 2014 12:20:42 -0400 Subject: lint cleanup of site_config::caching_resolver Change-Id: I3f6a4db26e064a520a08822cf23fc3288b31af62 --- puppet/modules/site_apt/manifests/preferences/unbound.pp | 2 +- puppet/modules/site_config/manifests/caching_resolver.pp | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'puppet') 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': -- cgit v1.2.3