From efad953df8aa82be06b8ecea8dcb3769e84b6f5e Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Wed, 26 Jun 2013 00:46:14 -0500 Subject: [PATCH] Slight tweak to _shadow_supported() When this function was added, Solaris support was improperly defined. This commit fixes that. --- salt/states/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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