Slight tweak to _shadow_supported()

When this function was added, Solaris support was improperly defined.
This commit fixes that.
This commit is contained in:
Erik Johnson 2013-06-26 00:46:14 -05:00
parent 764667a57d
commit efad953df8

View File

@ -31,8 +31,8 @@ log = logging.getLogger(__name__)
def _shadow_supported():
supported_os = ('FreeBSD', 'NetBSD', 'SunOS')
supported_kernel = ('Linux',)
supported_os = ('FreeBSD', 'NetBSD')
supported_kernel = ('Linux', 'SunOS')
return True if __grains__.get('os', '') in supported_os \
or __grains__.get('kernel', '') in supported_kernel \
else False