mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #8525 from terminalmage/quickfix
Minor fix in ports state __virtual__ function
This commit is contained in:
commit
9612e58498
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue