Do not restart mcollective service if it's enabled

Change-Id: I3aa199a2a2afca3229d2b3cb2cf5f6d30c641c6b
Closes-Bug: #1536924
This commit is contained in:
slava 2016-01-29 00:47:02 +03:00 committed by Alexander Gordeev
parent 9ae93ece26
commit 7a47142f7a
2 changed files with 0 additions and 2 deletions

View File

@ -40,7 +40,6 @@ runcmd:
- chkconfig mcollective off
{% else %}
- chkconfig mcollective on
- service mcollective restart
{% endif %}
- iptables -t filter -F INPUT
- iptables -t filter -F FORWARD

View File

@ -98,7 +98,6 @@ runcmd:
- echo manual > /etc/init/mcollective.override
{% else %}
- rm -f /etc/init/mcollective.override
- service mcollective restart
{% endif %}
- iptables -t filter -F INPUT
- iptables -t filter -F FORWARD