Skip to content
Snippets Groups Projects
Commit 19062d85 authored by Alessandro Costantini's avatar Alessandro Costantini
Browse files

Horizon fixes; comments redefined

parent 85220a79
No related branches found
No related tags found
1 merge request!9Development
......@@ -8,14 +8,13 @@ class iaas::profile::horizon (
$fqdn = hiera('iaas::role::endpoint::main_hostname', undef),
) {
class { '::horizon':
#Costa
#Function union modified for server_aliases; allowed_hosts modified
# allowed_hosts => union([$fqdn, '127.0.0.1', $::facts["ipaddress_${public_interface}"]], $endpoint_servers),
# server_aliases => union([$fqdn, '127.0.0.1', $::facts["ipaddress_${public_interface}"]], $endpoint_servers),
# allowed_hosts => union([$fqdn, $::ipaddress], $endpoint_servers),
allowed_hosts => '*',
server_aliases => union([$fqdn, $::ipaddress], $endpoint_servers),
server_aliases => union([$fqdn, $::facts["ipaddress_${public_interface}"]], $endpoint_servers),
secret_key => $secret,
#Costa
cache_server_ip => $::facts["ipaddress_${admin_interface}"],
keystone_url => "http://${endpoint_address}:5000/v2.0",
cinder_options => {
......@@ -28,7 +27,7 @@ class iaas::profile::horizon (
},
}
# Costa
# HAproxy commented variables
# @@haproxy::balancermember { "horizon_${::fqdn}":
# listening_service => 'horizon_cluster',
# server_names => $::hostname,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment