Merge pull request #8525 from terminalmage/quickfix

Minor fix in ports state __virtual__ function
This commit is contained in:
Pedro Algarvio 2013-11-14 09:34:01 -08:00
commit 9612e58498

View file

@ -29,7 +29,7 @@ log = logging.getLogger(__name__)
def __virtual__():
if __grains__.get('os', '') == 'FreeBSD' and 'ports.install':
if __grains__.get('os', '') == 'FreeBSD' and 'ports.install' in __salt__:
return 'ports'
return False