From 42ebc910ccb32256fb230d63e72a2a1d2f6b3f9a Mon Sep 17 00:00:00 2001 From: Ossi Herrala Date: Fri, 30 Nov 2012 08:05:43 +0000 Subject: [PATCH] Require rndc config generation before checkconf and remove unneccessary subscribe to named.conf. --- dns/manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dns/manifests/init.pp b/dns/manifests/init.pp index 1f0a23f..5ad817b 100644 --- a/dns/manifests/init.pp +++ b/dns/manifests/init.pp @@ -113,7 +113,7 @@ class dns::server { default => "/usr/sbin/named-checkconf -z -t ${chroot}" }, refreshonly => true, - subscribe => File["named.conf"], + require => Exec["rndc-confgen"], notify => Service["named"], } @@ -133,7 +133,6 @@ class dns::server { "openbsd" => "/usr/sbin/named", default => undef, }, - require => Exec["rndc-confgen"], } file { "named.conf":