Merge "Test the new horizon::dashboards::heat class"
This commit is contained in:
commit
d5ef024851
@ -96,7 +96,9 @@ include openstack_integration::nova
|
|||||||
if $trove_enabled {
|
if $trove_enabled {
|
||||||
include openstack_integration::trove
|
include openstack_integration::trove
|
||||||
}
|
}
|
||||||
include openstack_integration::horizon
|
class { 'openstack_integration::horizon':
|
||||||
|
heat_enabled => true
|
||||||
|
}
|
||||||
include openstack_integration::heat
|
include openstack_integration::heat
|
||||||
class { 'openstack_integration::sahara':
|
class { 'openstack_integration::sahara':
|
||||||
integration_enable => $sahara_integration_enable,
|
integration_enable => $sahara_integration_enable,
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
class openstack_integration::horizon {
|
# Configure the Horizon service
|
||||||
|
#
|
||||||
|
# [*heat_enabled*]
|
||||||
|
# (optional) Flag to enable heat dashboard
|
||||||
|
# Defaults to false.
|
||||||
|
#
|
||||||
|
class openstack_integration::horizon (
|
||||||
|
$heat_enabled = false,
|
||||||
|
) {
|
||||||
|
|
||||||
include openstack_integration::config
|
include openstack_integration::config
|
||||||
include openstack_integration::params
|
include openstack_integration::params
|
||||||
@ -44,5 +52,7 @@ class openstack_integration::horizon {
|
|||||||
compress_offline => false,
|
compress_offline => false,
|
||||||
}
|
}
|
||||||
|
|
||||||
horizon::dashboard { 'heat': }
|
if $heat_enabled {
|
||||||
|
class { 'horizon::dashboards::heat': }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user