Browse Source

feat(linux): archlinux support (no osfinger grain)

tags/v2.1.0
N 5 years ago
parent
commit
ab6148c064
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx/map.jinja

+ 1
- 1
nginx/map.jinja View File

@@ -186,7 +186,7 @@
'passenger_root': '/usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini',
'passenger_instance_registry_dir': '/var/run/passenger-instreg',
})%}
{% if salt['grains.get']('osfinger') == 'CentOS-6' %}
{% if 'osfinger' in grains and salt['grains.get']('osfinger') == 'CentOS-6' %}
{% do nginx.server.config.update({
'pid': '/var/run/nginx.pid',
})%}

Loading…
Cancel
Save