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

This commit is contained in:
N 2019-08-03 14:53:49 +01:00
parent 6c89ef50cf
commit ab6148c064
No known key found for this signature in database
GPG Key ID: 55A292EAB4E54067

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',
})%}