Merge pull request #26328 from twangboy/fix_25562

Removed salt-master role requirement
This commit is contained in:
David Boucha 2015-08-17 12:30:17 -06:00
commit 8d901d7b15

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