From b3807231fceda93458e383876b29baecf9a0ed0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 16 Mar 2011 15:07:56 +0200 Subject: [PATCH] Changed named stop command on OpenBSD to prevent killing syslog. --- dns/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dns/manifests/init.pp b/dns/manifests/init.pp index 103e28b..7405b09 100644 --- a/dns/manifests/init.pp +++ b/dns/manifests/init.pp @@ -47,6 +47,10 @@ class dns::server { ensure => running, enable => true, status => "/usr/sbin/rndc status", + stop => $operatingsystem ? { + openbsd => "pkill -u named", + default => undef, + }, start => $operatingsystem ? { openbsd => "/usr/sbin/named", default => undef,