diff --git a/salty/base/python_env/init.sls b/salty/base/python_env/init.sls index e7971fb..37d8931 100644 --- a/salty/base/python_env/init.sls +++ b/salty/base/python_env/init.sls @@ -17,7 +17,7 @@ virtualenv-install: - name: {{ python_env.virtualenv }} - user: {{ grains.user }} {% if grains['travis'] == True and grains['kernel'] == 'Linux' %} - - bin_env: {{ pip_bin_env }} + - bin_env: {{ pip_travis_env }} {% else %} - bin_env: {{ python_env.pip_bin_env }} {% endif %} @@ -29,7 +29,7 @@ virtualenvwrapper-install: - name: {{ python_env.virtualenvwrapper }} - user: {{ grains.user }} {% if grains['travis'] == True and grains['kernel'] == 'Linux' %} - - bin_env: {{ pip_bin_env }} + - bin_env: {{ pip_travis_env }} {% else %} - bin_env: {{ python_env.pip_bin_env }} {% endif %}