commit | c81603b8b6c66183b7a3a96b3780d86a027eacc0 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Mon Jan 16 11:05:44 2017 +0100 |
committer | GitHub <noreply@github.com> | Mon Jan 16 11:05:44 2017 +0100 |
tree | 11df95d469b6079520b07096b5fd97b92daf3b78 | |
parent | b1cb0104e31f038702ffad42a39460998fa238ea [diff] | |
parent | b154dc3a7a57705facdeef17a694f5fa2af8ece0 [diff] |
Merge pull request #21 from simonpasquier/fix-salt-api-state Fix salt.api state to catch undefined data
diff --git a/salt/api.sls b/salt/api.sls index 4bc3e9b..61e5687 100644 --- a/salt/api.sls +++ b/salt/api.sls
@@ -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: