Fix dependencies for dashboard node
This commit is contained in:
parent
fe0b31b216
commit
c758845fc8
@ -1,4 +1,23 @@
|
||||
class kickstack::node::dashboard inherits kickstack {
|
||||
include kickstack::horizon
|
||||
include kickstack::nova::vncproxy
|
||||
|
||||
$keystone_internal_address = getvar("${fact_prefix}keystone_internal_address")
|
||||
$nova_keystone_password = getvar("${fact_prefix}nova_keystone_password")
|
||||
|
||||
case $::kickstack::rpc {
|
||||
'rabbitmq': {
|
||||
$amqp_host = getvar("${::kickstack::fact_prefix}rabbit_host")
|
||||
$amqp_password = getvar("${::kickstack::fact_prefix}rabbit_password")
|
||||
}
|
||||
'qpid': {
|
||||
$amqp_host = getvar("${::kickstack::fact_prefix}qpid_host")
|
||||
$amqp_password = getvar("${::kickstack::fact_prefix}qpid_password")
|
||||
}
|
||||
}
|
||||
|
||||
if $keystone_internal_address {
|
||||
include kickstack::horizon
|
||||
if $nova_keystone_password and $amqp_host and $amqp_password {
|
||||
include kickstack::nova::vncproxy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user