2
0

Removing crypto pip dependency for Ubuntu and Debian

Fixes:
https://github.com/saltstack-formulas/salt-formula/issues/59

Refer to PR:
https://github.com/saltstack-formulas/salt-formula/pull/60
This commit is contained in:
Nitin Madhok 2014-11-06 13:33:53 -05:00
parent 5f967781bc
commit f84a0c4a9f

View File

@ -10,10 +10,12 @@ pycrypto:
- require:
- pkg: python-pip
{% if grains['os'] not in ['Ubuntu', 'Debian'] %}
crypto:
pip.installed:
- require:
- pkg: python-pip
{% endif %}
apache-libcloud:
pip.installed:
@ -26,7 +28,9 @@ salt-cloud:
- require:
- pip: apache-libcloud
- pip: pycrypto
{% if grains['os'] not in ['Ubuntu', 'Debian'] %}
- pip: crypto
{% endif %}
{% for folder in cloud['folders'] %}
{{ folder }}: