commit | fb39a9d3233af9f55714a3e54d5a4feb3b6c5b78 | [log] [tgz] |
---|---|---|
author | Ales Komarek <mail@newt.cz> | Fri Dec 18 11:24:27 2015 +0100 |
committer | Ales Komarek <mail@newt.cz> | Fri Dec 18 11:24:27 2015 +0100 |
tree | 86e1d3b5d22de57f0dd5eb1140e057007dcfec5d | |
parent | 1329d495eec8038ae2a1b15d5e7423873c4f43c0 [diff] |
enforce order
diff --git a/horizon/server/plugin.sls b/horizon/server/plugin.sls index 0f38523..f2c7caa 100644 --- a/horizon/server/plugin.sls +++ b/horizon/server/plugin.sls
@@ -18,6 +18,10 @@ horizon_{{ plugin_name }}_package: pkg.installed: - name: {{ plugin.source.name }} + {%- if server.get('plugin', {}).horizon_theme is defined %} + - require: + - pkg: horizon_horizon_theme_package + {%- endif %} - watch_in: - service: horizon_services