mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Slight tweak to _shadow_supported()
When this function was added, Solaris support was improperly defined. This commit fixes that.
This commit is contained in:
parent
764667a57d
commit
efad953df8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user