Merge pull request #5 from robertstarmer/master

updated template for additional horizon supported services
This commit is contained in:
Dan Bode 2012-06-12 00:48:44 -07:00
commit 70a7c83081
2 changed files with 26 additions and 6 deletions

View File

@ -1,9 +1,23 @@
#
# installs a horizon server
#
#
# - Parameters
# $cache_server_ip memcached ip address (or VIP)
# $cache_server_port memcached port
# $swift (bool) is swift installed
# $quantum (bool) is quantum installed
# The next is an array of arrays, that can be used to add call-out links to the dashboard for other apps.
# There is no specific requirement for these apps to be for monitoring, that's just the defacto purpose.
# Each app is defined in two parts, the display name, and the URI
# [horizon_app_links] array as in '[ ["Nagios","http://nagios_addr:port/path"],["Ganglia","http://ganglia_addr"] ]'
#
class horizon(
$cache_server_ip = '127.0.0.1',
$cache_server_port = '11211'
$cache_server_port = '11211',
$swift = false,
$quantum = false,
$horizon_app_links = false,
) {
include horizon::params

View File

@ -62,16 +62,22 @@ OPENSTACK_KEYSTONE_BACKEND = {
# external to the OpenStack environment. The default is 'internalURL'.
#OPENSTACK_ENDPOINT_TYPE = "publicURL"
<% if swift -%>
# Include the SWIFT interface extension in Horizon
SWIFT_ENABLED = True
<% end -%>
# The number of Swift containers and objects to display on a single page before
# providing a paging element (a "more" link) to paginate results.
API_RESULT_LIMIT = 1000
# If you have external monitoring links, eg:
# EXTERNAL_MONITORING = [
# ['Nagios','http://foo.com'],
# ['Ganglia','http://bar.com'],
# ]
<% if quantum -%>
# Include the Quantum interface extensions in Horizon
QUANTUM_ENABLED = True
<% end -%>
# If you have external monitoring links, eg:
EXTERNAL_MONITORING = <% if horizon_app_links %><%= horizon_app_links %>,<% else %>[ ]<% end %>
LOGGING = {
'version': 1,
# When set to True this will disable all logging except