mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Not renaming, return a boolean in __virtual__()
.
This commit is contained in:
parent
c960f27f94
commit
6cc7020903
@ -15,7 +15,7 @@ import salt.utils
|
|||||||
|
|
||||||
|
|
||||||
def __virtual__():
|
def __virtual__():
|
||||||
return 'shadow' if __grains__.get('kernel', '') == 'Linux' else False
|
return __grains__.get('kernel', '') == 'Linux'
|
||||||
|
|
||||||
|
|
||||||
def default_hash():
|
def default_hash():
|
||||||
|
Loading…
Reference in New Issue
Block a user