We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e762a51 commit 8af0e70Copy full SHA for 8af0e70
php/installed.jinja
@@ -109,6 +109,15 @@ php_install_{{ state }}:
109
- enablerepo: {{ enable_php_repo }}
110
{% endif %}
111
112
+{% set service = salt['pillar.get']('php:lookup:fpm:service', 'php-fpm')%}
113
+{% if salt['service.status'](service, False) %}
114
+{{service}}_restart_{{ state }}:
115
+ service.running:
116
+ - name: {{service}}
117
+ - watch:
118
+ - pkg: php_install_{{ state }}
119
+{% endif %}
120
+
121
{% for pkg in specials %}
122
123
php_install_{{ state }}_{{ pkg.get('name') | replace("/", "-") }}:
0 commit comments