Fix typo in manifests
This commit is contained in:
parent
22f0c06b8a
commit
170180fabf
|
@ -44,17 +44,17 @@ class heat::api-cloudwatch (
|
||||||
value => join($rabbit_hosts, ',')
|
value => join($rabbit_hosts, ',')
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
heat_api_config { 'DEFAULT/rabbit_host': value => $rabbit_host }
|
heat_api_cloudwatch_config { 'DEFAULT/rabbit_host': value => $rabbit_host }
|
||||||
heat_api_config { 'DEFAULT/rabbit_port': value => $rabbit_port }
|
heat_api_cloudwatch_config { 'DEFAULT/rabbit_port': value => $rabbit_port }
|
||||||
heat_api_config { 'DEFAULT/rabbit_hosts':
|
heat_api_cloudwatch_config { 'DEFAULT/rabbit_hosts':
|
||||||
value => "${rabbit_host}:${rabbit_port}"
|
value => "${rabbit_host}:${rabbit_port}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if size($rabbit_hosts) > 1 {
|
if size($rabbit_hosts) > 1 {
|
||||||
heat_api_config { 'DEFAULT/rabbit_ha_queues': value => true }
|
heat_api_cloudwatch_config { 'DEFAULT/rabbit_ha_queues': value => true }
|
||||||
} else {
|
} else {
|
||||||
heat_api_config { 'DEFAULT/rabbit_ha_queues': value => false }
|
heat_api_cloudwatch-config { 'DEFAULT/rabbit_ha_queues': value => false }
|
||||||
}
|
}
|
||||||
|
|
||||||
service { 'heat-api-cloudwatch':
|
service { 'heat-api-cloudwatch':
|
||||||
|
|
|
@ -46,23 +46,23 @@ class heat::engine (
|
||||||
Package['heat-common'] -> Service['heat-engine']
|
Package['heat-common'] -> Service['heat-engine']
|
||||||
|
|
||||||
if $rabbit_hosts {
|
if $rabbit_hosts {
|
||||||
heat_api_config { 'DEFAULT/rabbit_host': ensure => absent }
|
heat_engine_config { 'DEFAULT/rabbit_host': ensure => absent }
|
||||||
heat_api_config { 'DEFAULT/rabbit_port': ensure => absent }
|
heat_engine_config { 'DEFAULT/rabbit_port': ensure => absent }
|
||||||
heat_api_config { 'DEFAULT/rabbit_hosts':
|
heat_engine_config { 'DEFAULT/rabbit_hosts':
|
||||||
value => join($rabbit_hosts, ',')
|
value => join($rabbit_hosts, ',')
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
heat_api_config { 'DEFAULT/rabbit_host': value => $rabbit_host }
|
heat_engine_config { 'DEFAULT/rabbit_host': value => $rabbit_host }
|
||||||
heat_api_config { 'DEFAULT/rabbit_port': value => $rabbit_port }
|
heat_engine_config { 'DEFAULT/rabbit_port': value => $rabbit_port }
|
||||||
heat_api_config { 'DEFAULT/rabbit_hosts':
|
heat_engine_config { 'DEFAULT/rabbit_hosts':
|
||||||
value => "${rabbit_host}:${rabbit_port}"
|
value => "${rabbit_host}:${rabbit_port}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if size($rabbit_hosts) > 1 {
|
if size($rabbit_hosts) > 1 {
|
||||||
heat_api_config { 'DEFAULT/rabbit_ha_queues': value => true }
|
heat_engine_config { 'DEFAULT/rabbit_ha_queues': value => true }
|
||||||
} else {
|
} else {
|
||||||
heat_api_config { 'DEFAULT/rabbit_ha_queues': value => false }
|
heat_engine_config { 'DEFAULT/rabbit_ha_queues': value => false }
|
||||||
}
|
}
|
||||||
|
|
||||||
service { 'heat-engine':
|
service { 'heat-engine':
|
||||||
|
|
Loading…
Reference in New Issue