mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Removed salt-master role requirement
This commit is contained in:
parent
1e3f33a03c
commit
d4ca1dccbf
@ -20,15 +20,7 @@ import salt.config
|
||||
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
Load this state if this is the salt-master
|
||||
'''
|
||||
try:
|
||||
return ('winrepo'
|
||||
if 'salt-master' in __grains__.get('roles', [])
|
||||
else False)
|
||||
except TypeError:
|
||||
return False
|
||||
return 'winrepo'
|
||||
|
||||
|
||||
def genrepo(name, force=False, allow_empty=False):
|
||||
|
Loading…
Reference in New Issue
Block a user