Add amqp_durable_queues option in trove-guestagent.conf.erb.

Change-Id: I23f580d1ccd5261ff7090d182e0da2076012555b
Closes-Bug: #1573523
This commit is contained in:
Shaik Apsar 2016-04-22 16:20:33 +05:30
parent ca9ae11db8
commit 86bf28728c
2 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,7 @@ describe 'trove::taskmanager' do
is_expected.to contain_file('/etc/trove/trove-guestagent.conf').with_content(/^rabbit_host=10.0.0.1$/)
is_expected.to contain_file('/etc/trove/trove-guestagent.conf').with_content(/^#rabbit_port=5672$/)
is_expected.to contain_file('/etc/trove/trove-guestagent.conf').with_content(/^rabbit_ha_queues=true$/)
is_expected.to contain_file('/etc/trove/trove-guestagent.conf').with_content(/^amqp_durable_queues=true$/)
end
end

View File

@ -138,6 +138,9 @@ rabbit_ha_queues=true
<%- end -%>
<%- end -%>
<%- if @amqp_durable_queues and @amqp_durable_queues != "<SERVICE DEFAULT>" -%>
amqp_durable_queues=<%= @amqp_durable_queues %>
<%- end -%>
# ========== Datastore Specific Configuration Options ==========