From a88611c1d01910a77d86c673e6f9a1ef4fa229b2 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Tue, 25 Aug 2015 01:41:36 -0400 Subject: [PATCH] fix apache-restart ID in apache/mod_mpm according to apache/init.sls --- apache/mod_mpm.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apache/mod_mpm.sls b/apache/mod_mpm.sls index 83b45cb..c77cdb1 100644 --- a/apache/mod_mpm.sls +++ b/apache/mod_mpm.sls @@ -11,7 +11,7 @@ a2enmod {{ mpm_module }}: - require: - pkg: apache - watch_in: - - module: apache_restart + - module: apache-restart file.managed: - name: /etc/apache2/mods-available/{{ mpm_module }}.conf - template: jinja @@ -20,7 +20,7 @@ a2enmod {{ mpm_module }}: - require: - pkg: apache - watch_in: - - module: apache_restart + - module: apache-restart # Deactivate the other mpm modules as a previous step {% for mod in ['mpm_prefork', 'mpm_worker', 'mpm_event'] if not mod == mpm_module %} @@ -32,7 +32,7 @@ a2dismod {{ mod }}: - require_in: - cmd: a2enmod {{ mpm_module }} - watch_in: - - module: apache_restart + - module: apache-restart {% endfor %} {% endif %}