Horizon: Enable policy settings
This enables the horizon::policy class to test management of policy files. Note that we enable the feature only in CentOS for now, because Ubuntu/Debian packages do not install the policy files into the config directory. Change-Id: I6870052ff2c10a8d169f91af0559b8178dcd62ed
This commit is contained in:
parent
81a94be30d
commit
acc08ab998
@ -64,6 +64,12 @@ class openstack_integration::horizon (
|
|||||||
compress_offline => false,
|
compress_offline => false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO(tkajinam) Debian/Ubuntu package does not install the policy files
|
||||||
|
# to /etc/openstack-dashboard
|
||||||
|
if $facts['os']['family'] == 'RedHat' {
|
||||||
|
include horizon::policy
|
||||||
|
}
|
||||||
|
|
||||||
if $heat_enabled {
|
if $heat_enabled {
|
||||||
class { 'horizon::dashboards::heat': }
|
class { 'horizon::dashboards::heat': }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user