Only bother setting tenant_id if it's passed
This commit is contained in:
parent
0460de348c
commit
4a3b5cdc69
manifests/agent
@ -7,7 +7,7 @@ class ceilometer::agent::central(
|
||||
$auth_user = 'ceilometer',
|
||||
$auth_password = 'password',
|
||||
$auth_tenant_name = 'service',
|
||||
$auth_tenant_id = null,
|
||||
$auth_tenant_id = '',
|
||||
$enabled = true,
|
||||
) {
|
||||
|
||||
@ -36,7 +36,7 @@ class ceilometer::agent::central(
|
||||
'DEFAULT/os_tenant_name' : value => $auth_tenant_name;
|
||||
}
|
||||
|
||||
if ($auth_tenant_id) {
|
||||
if ($auth_tenant_id != '') {
|
||||
ceilometer_config {
|
||||
'DEFAULT/os_tenant_id' : value => $auth_tenant_id;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ class ceilometer::agent::compute(
|
||||
$auth_user = 'ceilometer',
|
||||
$auth_password = 'password',
|
||||
$auth_tenant_name = 'service',
|
||||
$auth_tenant_id = null,
|
||||
$auth_tenant_id = '',
|
||||
$enabled = true,
|
||||
) {
|
||||
|
||||
@ -36,7 +36,7 @@ class ceilometer::agent::compute(
|
||||
'DEFAULT/os_tenant_name' : value => $auth_tenant_name;
|
||||
}
|
||||
|
||||
if ($auth_tenant_id) {
|
||||
if ($auth_tenant_id != '') {
|
||||
ceilometer_config {
|
||||
'DEFAULT/os_tenant_id' : value => $auth_tenant_id;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user