diff --git a/salt/states/user.py b/salt/states/user.py index 2485941d74..c5726120f8 100644 --- a/salt/states/user.py +++ b/salt/states/user.py @@ -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