Fix strict variable errors in ceilometer::agent::polling
Make sure all variables are defined. Change-Id: Iaa352f73986be4f79ffac0838bedc0f2eaae01d3
This commit is contained in:
parent
50dc1b74eb
commit
5d63e7bc79
@ -56,6 +56,8 @@ class ceilometer::agent::polling (
|
||||
|
||||
if $central_namespace {
|
||||
$central_namespace_name = 'central'
|
||||
} else {
|
||||
$central_namespace_name = ''
|
||||
}
|
||||
|
||||
if $compute_namespace {
|
||||
@ -78,10 +80,14 @@ class ceilometer::agent::polling (
|
||||
ceilometer_config {
|
||||
'compute/instance_discovery_method': value => $instance_discovery_method,
|
||||
}
|
||||
} else {
|
||||
$compute_namespace_name = ''
|
||||
}
|
||||
|
||||
if $ipmi_namespace {
|
||||
$ipmi_namespace_name = 'ipmi'
|
||||
} else {
|
||||
$ipmi_namespace_name = ''
|
||||
}
|
||||
|
||||
if $manage_service {
|
||||
|
Loading…
Reference in New Issue
Block a user