Service returns the correct status to puppet
This commit is contained in:
parent
4e1f770cea
commit
b1bba0984a
|
@ -86,7 +86,7 @@ define plnxtools::apacheds::instance(
|
||||||
service {"apacheds_${title}":
|
service {"apacheds_${title}":
|
||||||
start => "$bin_dir/apacheds.sh $title start",
|
start => "$bin_dir/apacheds.sh $title start",
|
||||||
stop => "$bin_dir/apacheds.sh $title stop",
|
stop => "$bin_dir/apacheds.sh $title stop",
|
||||||
status => "/bin/false",
|
status => "$bin_dir/apacheds.sh $title status | grep 'is running'",
|
||||||
ensure => running
|
ensure => running
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue