Conditionally add Quantum client configuration to compute node
This commit is contained in:
parent
5239c63fba
commit
851af1885c
@ -17,6 +17,7 @@ class kickstack::node::compute inherits kickstack {
|
||||
|
||||
$nova_sql_conn = getvar("${::kickstack::fact_prefix}nova_sql_connection")
|
||||
$nova_keystone_password = getvar("${::kickstack::fact_prefix}nova_keystone_password")
|
||||
$quantum_keystone_password = getvar("${::kickstack::fact_prefix}quantum_keystone_password")
|
||||
$glance_api_host = getvar("${::kickstack::fact_prefix}glance_api_host")
|
||||
|
||||
if $amqp_host and $amqp_password {
|
||||
@ -24,5 +25,8 @@ class kickstack::node::compute inherits kickstack {
|
||||
if $nova_sql_conn and $nova_keystone_password and $glance_api_host {
|
||||
include kickstack::nova::compute
|
||||
}
|
||||
if $quantum_keystone_password {
|
||||
include kickstack::nova::quantumclient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user