View | Details | Raw Unified | Return to bug 220869 | Differences between
and this patch

Collapse All | Expand All

(-)salt/modules/freebsdservice.py (-2 lines)
Lines 16-22 import os Link Here
16
16
17
# Import salt libs
17
# Import salt libs
18
import salt.utils
18
import salt.utils
19
import salt.utils.decorators as decorators
20
from salt.exceptions import CommandNotFoundError
19
from salt.exceptions import CommandNotFoundError
21
20
22
__func_alias__ = {
21
__func_alias__ = {
Lines 39-45 def __virtual__(): Link Here
39
    return (False, 'The freebsdservice execution module cannot be loaded: only available on FreeBSD systems.')
38
    return (False, 'The freebsdservice execution module cannot be loaded: only available on FreeBSD systems.')
40
39
41
40
42
@decorators.memoize
43
def _cmd(jail=None):
41
def _cmd(jail=None):
44
    '''
42
    '''
45
    Return full path to service command
43
    Return full path to service command

Return to bug 220869