Skip to content

Commit

Permalink
modules.win_status: add reason to virtual ret
Browse files Browse the repository at this point in the history
  • Loading branch information
jfindlay committed Dec 5, 2015
1 parent 35ba7da commit 1903124
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions salt/modules/win_status.py
Expand Up @@ -52,7 +52,7 @@ def __virtual__():
'''
if salt.utils.is_windows() and has_required_packages:
return __virtualname__
return False
return (False, 'Cannot load win_status module on non-windows')


def cpuload():
Expand Down Expand Up @@ -192,8 +192,7 @@ def uptime(human_readable=False):
Return the system uptime for this machine in seconds
human_readable : False
If ``True``, then the number of seconds will be translated into years,
months, days, etc.
If ``True``, then return uptime in years, days, and seconds.
CLI Example:
Expand Down

0 comments on commit 1903124

Please sign in to comment.