mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 02:57:50 +01:00
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:
parent
5f967781bc
commit
f84a0c4a9f
@ -10,10 +10,12 @@ pycrypto:
|
|||||||
- require:
|
- require:
|
||||||
- pkg: python-pip
|
- pkg: python-pip
|
||||||
|
|
||||||
|
{% if grains['os'] not in ['Ubuntu', 'Debian'] %}
|
||||||
crypto:
|
crypto:
|
||||||
pip.installed:
|
pip.installed:
|
||||||
- require:
|
- require:
|
||||||
- pkg: python-pip
|
- pkg: python-pip
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
apache-libcloud:
|
apache-libcloud:
|
||||||
pip.installed:
|
pip.installed:
|
||||||
@ -26,7 +28,9 @@ salt-cloud:
|
|||||||
- require:
|
- require:
|
||||||
- pip: apache-libcloud
|
- pip: apache-libcloud
|
||||||
- pip: pycrypto
|
- pip: pycrypto
|
||||||
|
{% if grains['os'] not in ['Ubuntu', 'Debian'] %}
|
||||||
- pip: crypto
|
- pip: crypto
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for folder in cloud['folders'] %}
|
{% for folder in cloud['folders'] %}
|
||||||
{{ folder }}:
|
{{ folder }}:
|
||||||
|
Loading…
Reference in New Issue
Block a user