Browse Source

Merge pull request #21 from simonpasquier/fix-salt-api-state

Fix salt.api state to catch undefined data
tags/mcp0.5
Filip Pytloun 8 years ago
parent
commit
c81603b8b6
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