From c6c8958aac7694165d39c46e76126c284f068e60 Mon Sep 17 00:00:00 2001 From: Nitin Madhok Date: Thu, 6 Nov 2014 14:11:19 -0500 Subject: [PATCH] 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 --- salt/cloud.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/cloud.sls b/salt/cloud.sls index a6f9f67..0afdf38 100644 --- a/salt/cloud.sls +++ b/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 %}