From be062f00e2020f437d375d8f03047793872b5c19 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 20 May 2013 20:43:51 +0200 Subject: on newer puppet version the openbsd service provider changed slightly making this necessary --- manifests/openbsd.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/openbsd.pp b/manifests/openbsd.pp index 1ad37cc..16ba284 100644 --- a/manifests/openbsd.pp +++ b/manifests/openbsd.pp @@ -1,8 +1,8 @@ class sshd::openbsd inherits sshd::base { Service[sshd]{ - restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`', - stop => '/bin/kill `/bin/cat /var/run/sshd.pid`', - start => '/usr/sbin/sshd', - hasstatus => false, + restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`', + stop => '/bin/kill `/bin/cat /var/run/sshd.pid`', + start => '/usr/sbin/sshd', + status => '/usr/bin/pgrep -P `/bin/cat /var/run/sshd.pid`', } } -- cgit v1.2.3