Merge pull request #29747 from abednarik/virtual_ret_win_ntp_module

modules.win_ntp: __virtual__ return err msg.
This commit is contained in:
Mike Place 2015-12-16 07:39:10 -07:00
commit c477c32736

View File

@ -23,7 +23,7 @@ def __virtual__():
This only supports Windows
'''
if not salt.utils.is_windows():
return False
return (False, "Module win_system: module only works on Windows systems")
return __virtualname__