Changed named stop command on OpenBSD to prevent killing syslog.
This commit is contained in:
parent
a12b62bea5
commit
b3807231fc
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ class dns::server {
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
status => "/usr/sbin/rndc status",
|
status => "/usr/sbin/rndc status",
|
||||||
|
stop => $operatingsystem ? {
|
||||||
|
openbsd => "pkill -u named",
|
||||||
|
default => undef,
|
||||||
|
},
|
||||||
start => $operatingsystem ? {
|
start => $operatingsystem ? {
|
||||||
openbsd => "/usr/sbin/named",
|
openbsd => "/usr/sbin/named",
|
||||||
default => undef,
|
default => undef,
|
||||||
|
|
Loading…
Add table
Reference in a new issue