Explorar el Código

Tightened up some ng requirements.

tags/v0.34.0
Chad Heuschober hace 10 años
padre
commit
9c5ef0395b
Se han modificado 3 ficheros con 14 adiciones y 5 borrados
  1. +3
    -0
      php/ng/fpm/init.sls
  2. +11
    -4
      php/ng/fpm/pools.sls
  3. +0
    -1
      php/ng/fpm/service.sls

+ 3
- 0
php/ng/fpm/init.sls Ver fichero

@@ -13,3 +13,6 @@ extend:
- watch:
- file: php_fpm_ini_config
- file: php_fpm_conf_config
- require:
- file: php_fpm_ini_config
- file: php_fpm_conf_config

+ 11
- 4
php/ng/fpm/pools.sls Ver fichero

@@ -3,14 +3,21 @@
{% from 'php/ng/fpm/pools_config.sls' import pool_states with context %}
{% from 'php/ng/fpm/service.sls' import service_function with context %}

{% macro file_requisites(states) %}
{%- for state in states %}
- file: {{ state }}
{%- endfor -%}
{% endmacro %}

include:
- php.ng.fpm.service
- php.ng.fpm.pools_config


extend:
php_fpm_service:
service.{{ service_function }}:
service:
- watch:
{%- for pool in pool_states %}
- file: {{ pool }}
{% endfor -%}
{{ file_requisites(pool_states) }}
- require:
{{ file_requisites(pool_states) }}

+ 0
- 1
php/ng/fpm/service.sls Ver fichero

@@ -14,4 +14,3 @@ php_fpm_service:
- sls: php.ng.fpm.install
- watch:
- pkg: php_install_fpm


Cargando…
Cancelar
Guardar