|
|
|
|
|
|
|
|
python-pip: |
|
|
python-pip: |
|
|
pkg.installed |
|
|
pkg.installed |
|
|
|
|
|
|
|
|
pycrypto: |
|
|
|
|
|
pip.installed: |
|
|
|
|
|
- require: |
|
|
|
|
|
- pkg: python-pip |
|
|
|
|
|
|
|
|
|
|
|
{% if grains['os_family'] not in ['Debian', 'RedHat'] %} |
|
|
|
|
|
crypto: |
|
|
|
|
|
pip.installed: |
|
|
|
|
|
- require: |
|
|
|
|
|
- pkg: python-pip |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
apache-libcloud: |
|
|
|
|
|
|
|
|
salt-cloud-pip-packages: |
|
|
pip.installed: |
|
|
pip.installed: |
|
|
|
|
|
- pkgs: |
|
|
|
|
|
- apache-libcloud |
|
|
|
|
|
{%- if grains['os_family'] not in ['Debian', 'RedHat'] %} |
|
|
|
|
|
- crypto |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
- pycrypto |
|
|
- require: |
|
|
- require: |
|
|
- pkg: python-pip |
|
|
- pkg: python-pip |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
- name: {{ salt_settings.salt_cloud }} |
|
|
- name: {{ salt_settings.salt_cloud }} |
|
|
{%- if salt_settings.use_pip %} |
|
|
{%- if salt_settings.use_pip %} |
|
|
- require: |
|
|
- require: |
|
|
- pip: apache-libcloud |
|
|
|
|
|
- pip: pycrypto |
|
|
|
|
|
{% if grains['os_family'] not in ['Debian', 'RedHat'] %} |
|
|
|
|
|
- pip: crypto |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
- pip: salt-cloud-pip-packages |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|