Fix salt.api state to catch undefined datatags/mcp0.5
{%- from "salt/map.jinja" import api with context %} | {%- from "salt/map.jinja" import api with context %} | ||||
{%- if api.enabled %} | |||||
{%- if api.get('enabled', False) %} | |||||
salt_api_packages: | salt_api_packages: | ||||
pkg.installed: | pkg.installed: |