From 7684d6b0a96fb4b986c4e62f790a15227f879483 Mon Sep 17 00:00:00 2001 From: Aline Freitas Date: Fri, 14 Aug 2015 00:36:33 -0300 Subject: [PATCH] It should be just <, not <= when comparing salt version. --- nginx/source.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/source.sls b/nginx/source.sls index 4747985..9427ed9 100644 --- a/nginx/source.sls +++ b/nginx/source.sls @@ -65,7 +65,7 @@ nginx_user: - makedirs: True get-build-tools: -{% if salt['pkg.version']('salt') <= '2015.8.0' and grains['os_family'] == 'RedHat' %} +{% if salt['pkg.version']('salt') < '2015.8.0' and grains['os_family'] == 'RedHat' %} module.run: - name: pkg.group_install - m_name: {{ nginx_map.group_pkg }}