瀏覽代碼

Removing crypto pip dependency for complete Debian family

Removing crypto pip dependency for the ``os_family`` ``Debian``.

Refer to PR:
https://github.com/saltstack-formulas/salt-formula/pull/60#issuecomment-62029457
master
Nitin Madhok 10 年之前
父節點
當前提交
c6c8958aac
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      salt/cloud.sls

+ 2
- 2
salt/cloud.sls 查看文件

@@ -10,7 +10,7 @@ pycrypto:
- require:
- pkg: python-pip

{% if grains['os'] not in ['Ubuntu', 'Debian'] %}
{% if grains['os_family'] == 'Debian' %}
crypto:
pip.installed:
- require:
@@ -28,7 +28,7 @@ salt-cloud:
- require:
- pip: apache-libcloud
- pip: pycrypto
{% if grains['os'] not in ['Ubuntu', 'Debian'] %}
{% if grains['os_family'] == 'Debian' %}
- pip: crypto
{% endif %}


Loading…
取消
儲存