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:
parent
50bd31e14b
commit
18ea8736c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue