From 9dcfb48e8927ce1720573c569280fe1743eefc80 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 24 Jan 2010 18:18:19 +0000 Subject: [PATCH] add bind log directory to base class Signed-off-by: Stephen Gran --- modules/named/manifests/geodns.pp | 6 ------ modules/named/manifests/init.pp | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/named/manifests/geodns.pp b/modules/named/manifests/geodns.pp index 191f898e..182b80b0 100644 --- a/modules/named/manifests/geodns.pp +++ b/modules/named/manifests/geodns.pp @@ -69,12 +69,6 @@ class named::geodns inherits named { group => geodnssync, mode => 440, ; - "/var/log/bind9": - ensure => directory, - owner => bind, - group => bind, - mode => 775, - ; } } diff --git a/modules/named/manifests/init.pp b/modules/named/manifests/init.pp index 0c75aebf..5d2e250d 100644 --- a/modules/named/manifests/init.pp +++ b/modules/named/manifests/init.pp @@ -17,6 +17,14 @@ class named { refreshonly => true, ; } + file { + "/var/log/bind9": + ensure => directory, + owner => bind, + group => bind, + mode => 775, + ; + } } # vim: set fdm=marker ts=8 sw=8 et: -- 2.39.2