Skip to content

Commit 82edc41

Browse files
authored
Merge pull request #249 from noelmcloughlin/arch
feat(linux): archlinux support (no osfinger grain)
2 parents 6c89ef5 + ab6148c commit 82edc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/map.jinja

Lines changed: 1 addition & 1 deletion
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)