diff --git a/custom/testing/golden-state-tree/pkgs/iproute2.sls b/custom/testing/golden-state-tree/pkgs/iproute2.sls index 5cfc3a1..304beef 100644 --- a/custom/testing/golden-state-tree/pkgs/iproute2.sls +++ b/custom/testing/golden-state-tree/pkgs/iproute2.sls @@ -1,4 +1,4 @@ -{%- if grains['os_family'] in ('RedHat') or grains['os'] == 'VMware Photon OS' %} +{%- if grains['os_family'] in ('RedHat',) and grains['os'] != 'VMware Photon OS' %} {%- set pkg = "iproute" %} {%- else %} {%- set pkg = "iproute2" %}