From 570b45a9efe9734c893ac79600ed121eff3aa1c6 Mon Sep 17 00:00:00 2001 From: Nitin Madhok Date: Wed, 12 Nov 2014 20:56:15 -0500 Subject: [PATCH] Removing crypto pip dependency for complete RedHat family --- salt/cloud.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/cloud.sls b/salt/cloud.sls index a4d8786..41c753b 100644 --- a/salt/cloud.sls +++ b/salt/cloud.sls @@ -10,7 +10,7 @@ pycrypto: - require: - pkg: python-pip -{% if grains['os_family'] != 'Debian' %} +{% if grains['os_family'] not in ['Debian', 'RedHat'] %} crypto: pip.installed: - require: @@ -28,7 +28,7 @@ salt-cloud: - require: - pip: apache-libcloud - pip: pycrypto - {% if grains['os_family'] != 'Debian' %} + {% if grains['os_family'] not in ['Debian', 'RedHat'] %} - pip: crypto {% endif %}