Restart mcollective after its configuration was fixed

This patch basically aligns fuel-main copy of
fix-configs-on-startup script with its original from fuel-agent.

Change-Id: I4640231a5ea742793789c3c924054ffd74a8c970
Closes-bug: #1665566
This commit is contained in:
Alexey Stupnikov 2017-04-18 15:46:27 +03:00
parent 50bd31e14b
commit 18ea8736c5
1 changed files with 1 additions and 0 deletions

View File

@ -58,3 +58,4 @@ test -f /etc/ntp/step-tickers && echo $masternode_ip > /etc/ntp/step-tickers
sed -i "s/^plugin.rabbitmq.pool.1.host\b.*$/plugin.rabbitmq.pool.1.host = $masternode_ip/" /etc/mcollective/server.cfg
sed -i "s/^plugin.rabbitmq.pool.1.user\b.*$/plugin.rabbitmq.pool.1.user = $mco_user/" /etc/mcollective/server.cfg
sed -i "s/^plugin.rabbitmq.pool.1.password\b.*$/plugin.rabbitmq.pool.1.password= $mco_pass/" /etc/mcollective/server.cfg
service mcollective restart