diff --git a/salt/modules/smartos_imgadm.py b/salt/modules/smartos_imgadm.py index 671dae2d56..25bae318b8 100644 --- a/salt/modules/smartos_imgadm.py +++ b/salt/modules/smartos_imgadm.py @@ -71,7 +71,12 @@ def __virtual__(): ''' if salt.utils.is_smartos_globalzone() and _check_imgadm(): return __virtualname__ - return False + return ( + False, + '{0} module can only be loaded on SmartOS computed nodes'.format( + __virtualname__ + ) + ) def version():