I wonder if that works
authorPeter Palfrader <peter@palfrader.org>
Thu, 3 Mar 2011 10:40:40 +0000 (11:40 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 3 Mar 2011 10:40:40 +0000 (11:40 +0100)
modules/unbound/manifests/init.pp

index d412490..10bb5ff 100644 (file)
@@ -38,6 +38,7 @@ class unbound {
             notify  => Exec["unbound restart"],
             owner   => root,
             group   => root,
+            require => [ File[/var/lib/unbound/root.key],  File[/var/lib/unbound/debian.org.key] ],
             ;
     }