diff options
author | Micah Anderson <micah@riseup.net> | 2013-01-23 10:39:34 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-01-23 10:39:58 -0500 |
commit | cde779720059965b4caf968c132c315821dd9b66 (patch) | |
tree | 643424cf552e272354bbd51f0009636727a14d90 /puppet/modules | |
parent | 306a0e6c21d0e27035ba48530392eede59537516 (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.pp | 3 |
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, |