Merge pull request #67 from CorwinTanner/patch-1

Fixed "no service named nginx" chkconfig error.
This commit is contained in:
Nitin Madhok 2014-11-21 18:46:25 -05:00
commit 5cad45126e

View File

@ -45,7 +45,7 @@ nginx-old-init-disable:
- name: {{ nginx.old_init_disable }} - name: {{ nginx.old_init_disable }}
- require{{ _in }}: - require{{ _in }}:
- module: nginx-old-init - module: nginx-old-init
- unless: [ ! -f /etc/init.d/nginx ] - onlyif: [ -f /etc/init.d/nginx ]
{% endif %} {% endif %}
{% if grains.get('os_family') == 'Debian' %} {% if grains.get('os_family') == 'Debian' %}