Saltstack Official PHP Formula
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- # Manages the php-fpm service.
- {% from "php/ng/map.jinja" import php with context %}
- {% from "php/ng/macro.jinja" import sls_block %}
-
- {% set service_function = {True:'running', False:'dead'}.get(php.fpm.service.enabled) %}
-
- include:
- - php.ng.fpm.install
-
- php_fpm_service:
- service.{{ service_function }}:
- {{ sls_block(php.fpm.service.opts) }}
- - name: {{ php.lookup.fpm.service }}
- - enable: {{ php.fpm.service.enabled }}
- - require:
- - sls: php.ng.fpm.install
- - watch:
- - pkg: php_install_fpm
|