Changed avahi::daemon to use full path in status check on OpenBSD.
This commit is contained in:
parent
63a082912e
commit
d7b3dc689f
1 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,10 @@ class avahi::daemon {
|
||||||
service { "avahi-daemon":
|
service { "avahi-daemon":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
status => "avahi-daemon -c",
|
status => $operatingsystem ? {
|
||||||
|
openbsd => "/usr/local/sbin/avahi-daemon -c",
|
||||||
|
default => "avahi-daemon -c",
|
||||||
|
},
|
||||||
start => $operatingsystem ? {
|
start => $operatingsystem ? {
|
||||||
openbsd => "/usr/local/sbin/avahi-daemon -D",
|
openbsd => "/usr/local/sbin/avahi-daemon -D",
|
||||||
default => undef,
|
default => undef,
|
||||||
|
|
Loading…
Add table
Reference in a new issue