Do not restart mcollective service if it's enabled
Change-Id: I3aa199a2a2afca3229d2b3cb2cf5f6d30c641c6b Closes-Bug: #1536924
This commit is contained in:
parent
9ae93ece26
commit
7a47142f7a
@ -40,7 +40,6 @@ runcmd:
|
|||||||
- chkconfig mcollective off
|
- chkconfig mcollective off
|
||||||
{% else %}
|
{% else %}
|
||||||
- chkconfig mcollective on
|
- chkconfig mcollective on
|
||||||
- service mcollective restart
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- iptables -t filter -F INPUT
|
- iptables -t filter -F INPUT
|
||||||
- iptables -t filter -F FORWARD
|
- iptables -t filter -F FORWARD
|
||||||
|
@ -98,7 +98,6 @@ runcmd:
|
|||||||
- echo manual > /etc/init/mcollective.override
|
- echo manual > /etc/init/mcollective.override
|
||||||
{% else %}
|
{% else %}
|
||||||
- rm -f /etc/init/mcollective.override
|
- rm -f /etc/init/mcollective.override
|
||||||
- service mcollective restart
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- iptables -t filter -F INPUT
|
- iptables -t filter -F INPUT
|
||||||
- iptables -t filter -F FORWARD
|
- iptables -t filter -F FORWARD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user