Changed named stop command on OpenBSD to prevent killing syslog.

This commit is contained in:
Timo Mkinen 2011-03-16 15:07:56 +02:00
parent a12b62bea5
commit b3807231fc

View file

@ -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,