Removed salt-master role requirement

This commit is contained in:
twangboy 2015-08-14 10:52:45 -06:00
parent 1e3f33a03c
commit d4ca1dccbf

View File

@ -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):