Skip to content

Commit ab6148c

Browse files
feat(linux): archlinux support (no osfinger grain)
1 parent 6c89ef5 commit ab6148c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nginx/map.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
'passenger_root': '/usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini',
187187
'passenger_instance_registry_dir': '/var/run/passenger-instreg',
188188
})%}
189-
{% if salt['grains.get']('osfinger') == 'CentOS-6' %}
189+
{% if 'osfinger' in grains and salt['grains.get']('osfinger') == 'CentOS-6' %}
190190
{% do nginx.server.config.update({
191191
'pid': '/var/run/nginx.pid',
192192
})%}

0 commit comments

Comments
 (0)