Browse Source

Fix salt.api state to catch undefined data

tags/mcp0.5
Simon Pasquier 8 years ago
parent
commit
b154dc3a7a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/api.sls

+ 1
- 1
salt/api.sls View File

@@ -1,5 +1,5 @@
{%- from "salt/map.jinja" import api with context %}
{%- if api.enabled %}
{%- if api.get('enabled', False) %}

salt_api_packages:
pkg.installed:

Loading…
Cancel
Save