From 8448aa40211ef8f0b20a0a51d87a510eae68d05e Mon Sep 17 00:00:00 2001 From: Brian Jackson Date: Mon, 20 Jul 2015 17:05:56 -0500 Subject: [PATCH] Revert "Fix stuff suggested by @iggy." This reverts commit c5ae289fa1210551986fbc6d959c3127e00011be. --- salt/api.sls | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/salt/api.sls b/salt/api.sls index a017e3c..3314a26 100644 --- a/salt/api.sls +++ b/salt/api.sls @@ -38,9 +38,11 @@ salt_api_install: {%- if use_pip %} {%- if 'rest_cherrypy' in cfg_master %} salt_api_cherrypy: - pkg.purged - - name: {{ salt_settings.python_cherrypy }} - pip.installed + pkg: + - purged + - name: {{ salt_settings['python_cherrypy'] }} + pip: + - installed - name: cherrypy - require: - pkg: salt_api_cherrypy @@ -49,9 +51,11 @@ salt_api_cherrypy: {%- if 'rest_tornado' in cfg_master %} salt_api_tornado: - pkg.purged - - name: {{ salt_settings.python_tornado }} - pip.installed + pkg: + - purged + - name: {{ salt_settings['python_tornado'] }} + pip: + - installed - name: tornado - require: - pkg: salt_api_tornado @@ -62,13 +66,15 @@ salt_api_tornado: {% if 'rest_cherrypy' in cfg_master %} salt_api_cherrypy: - pkg.installed - - name: {{ salt_settings.python_cherrypy }} + pkg: + - installed + - name: {{ salt_settings['python_cherrypy'] }} {% endif %} {% if 'rest_tornado' in cfg_master %} salt_api_tornado: - pkg.installed - - name: {{ salt_settings.python_tornado }} + pkg: + - installed + - name: {{ salt_settings['python_tornado'] }} {% endif %} {%- endif %}