This commit is contained in:
root
2020-05-09 00:19:38 -04:00
parent e4b87cb50b
commit fc2ea8f76b
19 changed files with 182 additions and 18 deletions

6
nginx/map.jinja Normal file
View File

@@ -0,0 +1,6 @@
{% set php_fpm_raw = salt['pkg.version']('php-fpm') %}
{% if php_fpm_raw|length > 0 %}
{% set php_ver = php_fpm_raw.split('+')[0].split(':')[1] %}
{% else %}
{% set php_ver = None %}
{% endif %}