fix check mode for solaris enable/disable (#29049)

(cherry picked from commit 7804049592)
pull/29077/head
Brian Coca 8 years ago committed by Toshio Kuratomi
parent 78cae22938
commit dbc7444376

@ -1388,6 +1388,7 @@ class SunOSService(Service):
elif (not self.enable) and (not startup_enabled): elif (not self.enable) and (not startup_enabled):
return return
if not self.module.check_mode:
# Mark service as started or stopped (this will have the side effect of # Mark service as started or stopped (this will have the side effect of
# actually stopping or starting the service) # actually stopping or starting the service)
if self.enable: if self.enable:

Loading…
Cancel
Save