Use oslo module for configuration

Oslo module has the control_exchange parameters,
so use oslo module(oslo::messaging::default) to configure it.

Change-Id: Ica1ce84fc143708e76ae334c1a0d7e091bb974f2
This commit is contained in:
ZhongShengping 2016-05-07 14:10:18 +08:00
parent e7b043b923
commit 692f8b0835
2 changed files with 8 additions and 2 deletions

View File

@ -209,7 +209,10 @@ class trove::api(
'DEFAULT/nova_proxy_admin_user': value => $::trove::nova_proxy_admin_user;
'DEFAULT/nova_proxy_admin_pass': value => $::trove::nova_proxy_admin_pass;
'DEFAULT/nova_proxy_admin_tenant_name': value => $::trove::nova_proxy_admin_tenant_name;
'DEFAULT/control_exchange': value => $::trove::control_exchange;
}
oslo::messaging::default { 'trove_config':
control_exchange => $::trove::control_exchange
}
if $identity_uri {

View File

@ -78,7 +78,10 @@ class trove::guestagent(
'DEFAULT/debug': value => $debug;
'DEFAULT/trove_auth_url': value => $auth_url;
'DEFAULT/swift_url': value => $swift_url;
'DEFAULT/control_exchange': value => $control_exchange;
}
oslo::messaging::default { 'trove_config':
control_exchange => $control_exchange
}
# region name