X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Funbound%2Fmanifests%2Finit.pp;h=6c58a7d7b7bdc8c5c778224fe2bdc25210817539;hb=a3dc39e898c946c2390908ef90ed35bfcda1a76f;hp=a89f783386220289ab35affa6808705673c653b6;hpb=ed3381df54de9d6211f1a522d77894dcb2437e94;p=mirror%2Fdsa-puppet.git diff --git a/modules/unbound/manifests/init.pp b/modules/unbound/manifests/init.pp index a89f78338..6c58a7d7b 100644 --- a/modules/unbound/manifests/init.pp +++ b/modules/unbound/manifests/init.pp @@ -16,8 +16,6 @@ class unbound { group => unbound, mode => 775, ; - } - file { "/var/lib/unbound/root.key": ensure => present, replace => false, @@ -25,10 +23,7 @@ class unbound { group => unbound, mode => 644, source => [ "puppet:///modules/unbound/root.key" ], - #notify => Exec["unbound restart"], ; - } - file { "/var/lib/unbound/debian.org.key": ensure => present, replace => false, @@ -36,13 +31,10 @@ class unbound { group => unbound, mode => 644, source => [ "puppet:///modules/unbound/debian.org.key" ], - #notify => Exec["unbound restart"], ; - } - file { "/etc/unbound/unbound.conf": content => template("unbound/unbound.conf.erb"), - require => Package["unbound"], + require => [ Package["unbound"], File['/var/lib/unbound/root.key'], File['/var/lib/unbound/debian.org.key'] ], notify => Exec["unbound restart"], owner => root, group => root,