summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-23 10:39:34 -0500
committerMicah Anderson <micah@riseup.net>2013-01-23 10:39:58 -0500
commitcde779720059965b4caf968c132c315821dd9b66 (patch)
tree643424cf552e272354bbd51f0009636727a14d90 /puppet/modules
parent306a0e6c21d0e27035ba48530392eede59537516 (diff)
require that the unbound package is installed before attempting to make
sub-directories under /etc/unbound (#1412)
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_config/manifests/caching_resolver.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_config/manifests/caching_resolver.pp b/puppet/modules/site_config/manifests/caching_resolver.pp
index ab2f52d1..922c394f 100644
--- a/puppet/modules/site_config/manifests/caching_resolver.pp
+++ b/puppet/modules/site_config/manifests/caching_resolver.pp
@@ -12,7 +12,8 @@ class site_config::caching_resolver {
file {
'/etc/unbound/conf.d':
ensure => directory,
- owner => root, group => root, mode => '0755';
+ owner => root, group => root, mode => '0755',
+ require => Package['unbound'];
'/etc/unbound/conf.d/placeholder':
ensure => present,