Add params docs

Change-Id: Iaa3f59221c84c4dd30d89e8a2214642a00d3a238
This commit is contained in:
Alex Ruiz Estradera 2016-11-03 17:34:56 +01:00
parent 10c97f3b10
commit af4cbeb310
1 changed files with 66 additions and 5 deletions

View File

@ -6,17 +6,78 @@
#
# [*midonet_repo_baseurl*]
# Address of the midonet repository
#
# [midonet_key_url]
# Url to get the GPG key for the repository
#
# [mem_package]
# Name of the Midonet MEM package
#
# [mem_install_path]
# Path where the midonet-manager files will be deploy_end
# [mem_agent_config_api_namespace]
# The default value for the api_namespace is set to conf which usually
# does not have to be changed.
# Default value: "mem_agent_config_api_namespace": "conf"
# [mem_api_version]
# The default value for the api_version is set to latest version. In case you
# are using and older MidoNet REST API, change the version accordingly.
# Note: The MidoNet Manager supports the following API versions: 5.0 , 5.2
# e.g. "api_version": "5.2"
#
# [mem_api_token]
# If desired, auto-login can be enabled by setting the value of api_token to
# your Keystone token.
# e.g. "mem_api_token": keystone_token
#
# [mem_poll_enabled]
# The Auto Polling will seamlessly refresh Midonet Manager data periodically.
# It is enabled by default and can be disabled in Midonet Manager's Settings
# section directly through the UI. This will only disable it for the duration
# of the current session. It can also be disabled permanently by changing the
# 'poll_enabled' parameter to 'false'
#
# [mem_login_animation_enabled]
# Whether the login page background animation should be enabled or not
# Default: true
#
# [mem_config_file]
# File for the MEM manager frontend configuration
# Default: "${mem_install_path}/config/client.js"
#
# [mem_api_namespace]
# Namespace for the midonet api URI
# Default: 'midonet-api'
#
#
# [mem_trace_namespace]
# Namespace for the midonet traces URI
# Default: 'trace'
#
# [mem_analytics_namespace]
# Namespace for the midonet analytics URI
# Default: 'analytics'
#
# [mem_proxy_preserve_host]
# Should configure proxy preserve host on apache?
#
# [mem_apache_docroot]
# Document root for mem vhost
# Default: undef
#
# [mem_apache_port]
# The port where apache for mem will run
# Default: undef
#
# [mem_apache_servername]
# Servername for MEM vhost
# Default: undef
class midonet::params {
$midonet_repo_baseurl = 'builds.midonet.org'
$midonet_key_url = "https://${midonet_repo_baseurl}/midorepo.key"
$midonet_faraday_package = 'tfm-rubygem-faraday'
$midonet_multipart_post_package = 'tfm-rubygem-multipart-post'
$foreman_releases_repo_url = 'http://yum.theforeman.org/releases/latest/el7/$basearch'
$foreman_releases_repo_gpgkey = 'https://yum.theforeman.org/releases/latest/RPM-GPG-KEY-foreman'
# midonet MEM Manager
$mem_package = 'midonet-manager'
$mem_install_path = '/var/www/html/midonet-manager'