45 lines
1.9 KiB
Puppet
45 lines
1.9 KiB
Puppet
# == Class = midonet::params
|
|
#
|
|
# Configure the parameters for midonet module
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*midonet_repo_baseurl*]
|
|
# Address of the midonet repository
|
|
|
|
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_faraday_url = 'http://yum.theforeman.org/nightly/el7/x86_64/tfm-rubygem-faraday-0.9.1-3.el7.noarch.rpm'
|
|
$midonet_multipart_post_package = 'tfm-rubygem-multipart-post'
|
|
$midonet_multipart_post_url = 'http://yum.theforeman.org/nightly/el7/x86_64/tfm-rubygem-multipart-post-1.2.0-4.el7.noarch.rpm'
|
|
|
|
# midonet MEM Manager
|
|
$mem_package = 'midonet-manager'
|
|
$mem_install_path = '/var/www/html/midonet-manager'
|
|
|
|
# MEM Manager config.js parameters
|
|
$mem_agent_config_api_namespace = 'conf'
|
|
$mem_analytics_ws_api_url = "wss://${::ipaddress}:8080/analytics"
|
|
$mem_api_host = "http://${::ipaddress}:8181"
|
|
$mem_api_namespace = 'midonet-api'
|
|
$mem_api_token = false
|
|
$mem_api_version = '5.0'
|
|
$mem_login_host = "http://${::ipaddress}:8181"
|
|
$mem_poll_enabled = true
|
|
$mem_login_animation_enabled = true
|
|
$mem_trace_api_host = "http://${::ipaddress}:8181"
|
|
$mem_traces_ws_url = "wss://${::ipaddress}:8460"
|
|
$mem_config_file = "${mem_install_path}/config/client.js"
|
|
|
|
# MEM vhost parameters for apache conf
|
|
$mem_apache_port = '80'
|
|
$mem_apache_servername = "http://${::ipaddress}"
|
|
$mem_apache_docroot = '/var/www/html'
|
|
|
|
|
|
}
|