Rename murano hash to murano_plugin hash
Current murano hash name intersects with base Fuel murano hash name. As a result base fuel task globals update base hiera yaml file with wrong data, that can lead problems, for example, during downscale cluster. Change-Id: I8b4b95b1706c277b4ee0606ce0420c0024a3e271 Closes-bug: #1598177
This commit is contained in:
parent
05a64c606e
commit
f44e7081fa
|
@ -2,7 +2,7 @@ notice('MURANO PLUGIN: murano.pp')
|
||||||
|
|
||||||
prepare_network_config(hiera_hash('network_scheme', {}))
|
prepare_network_config(hiera_hash('network_scheme', {}))
|
||||||
|
|
||||||
$murano_hash = hiera_hash('murano', {})
|
$murano_hash = hiera_hash('murano_plugin', {})
|
||||||
$murano_plugins = pick($murano_hash['plugins'], {})
|
$murano_plugins = pick($murano_hash['plugins'], {})
|
||||||
$rabbit_hash = hiera_hash('rabbit', {})
|
$rabbit_hash = hiera_hash('rabbit', {})
|
||||||
$neutron_config = hiera_hash('neutron_config', {})
|
$neutron_config = hiera_hash('neutron_config', {})
|
||||||
|
|
|
@ -3,7 +3,7 @@ notice('MURANO PLUGIN: murano_cfapi.pp')
|
||||||
prepare_network_config(hiera_hash('network_scheme', {}))
|
prepare_network_config(hiera_hash('network_scheme', {}))
|
||||||
|
|
||||||
$access_hash = hiera_hash('access', {})
|
$access_hash = hiera_hash('access', {})
|
||||||
$murano_cfapi_hash = hiera_hash('murano_cfapi', {})
|
$murano_cfapi_hash = hiera_hash('murano_cfapi_plugin', {})
|
||||||
$public_ip = hiera('public_vip')
|
$public_ip = hiera('public_vip')
|
||||||
$management_ip = hiera('management_vip')
|
$management_ip = hiera('management_vip')
|
||||||
$public_ssl_hash = hiera_hash('public_ssl', {})
|
$public_ssl_hash = hiera_hash('public_ssl', {})
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
notice('MURANO PLUGIN: murano_dashboard.pp')
|
notice('MURANO PLUGIN: murano_dashboard.pp')
|
||||||
|
|
||||||
$murano_hash = hiera_hash('murano', {})
|
$murano_hash = hiera_hash('murano_plugin', {})
|
||||||
$murano_plugins = $murano_hash['plugins']
|
$murano_plugins = $murano_hash['plugins']
|
||||||
$repository_url = has_key($murano_hash, 'murano_repo_url') ? {
|
$repository_url = has_key($murano_hash, 'murano_repo_url') ? {
|
||||||
true => $murano_hash['murano_repo_url'],
|
true => $murano_hash['murano_repo_url'],
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
notice('MURANO PLUGIN: murano_db.pp')
|
notice('MURANO PLUGIN: murano_db.pp')
|
||||||
|
|
||||||
$murano_hash = hiera_hash('murano', {})
|
$murano_hash = hiera_hash('murano_plugin', {})
|
||||||
$mysql_hash = hiera_hash('mysql', {})
|
$mysql_hash = hiera_hash('mysql', {})
|
||||||
$management_vip = hiera('management_vip', undef)
|
$management_vip = hiera('management_vip', undef)
|
||||||
$database_vip = hiera('database_vip')
|
$database_vip = hiera('database_vip')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
notice('MURANO PLUGIN: murano_haproxy.pp')
|
notice('MURANO PLUGIN: murano_haproxy.pp')
|
||||||
|
|
||||||
$murano_hash = hiera_hash('murano',{})
|
$murano_hash = hiera_hash('murano_plugin',{})
|
||||||
$murano_cfapi_hash = hiera_hash('murano_cfapi', {})
|
$murano_cfapi_hash = hiera_hash('murano_cfapi_plugin', {})
|
||||||
$public_ssl_hash = hiera_hash('public_ssl', {})
|
$public_ssl_hash = hiera_hash('public_ssl', {})
|
||||||
$ssl_hash = hiera_hash('use_ssl', {})
|
$ssl_hash = hiera_hash('use_ssl', {})
|
||||||
$external_lb = hiera('external_lb', false)
|
$external_lb = hiera('external_lb', false)
|
||||||
|
|
|
@ -42,8 +42,7 @@ if $murano_plugin {
|
||||||
|
|
||||||
###################
|
###################
|
||||||
$calculated_content = inline_template('
|
$calculated_content = inline_template('
|
||||||
murano:
|
murano_plugin:
|
||||||
murano_old_config: <% @murano_base_hash %>
|
|
||||||
murano_standalone: <%= @murano_role_exists %>
|
murano_standalone: <%= @murano_role_exists %>
|
||||||
murano_ipaddresses:
|
murano_ipaddresses:
|
||||||
<%
|
<%
|
||||||
|
@ -64,7 +63,7 @@ murano:
|
||||||
plugins:
|
plugins:
|
||||||
glance_artifacts_plugin:
|
glance_artifacts_plugin:
|
||||||
enabled: <%= @murano_glance_artifacts %>
|
enabled: <%= @murano_glance_artifacts %>
|
||||||
murano_cfapi:
|
murano_cfapi_plugin:
|
||||||
enabled: <%= @murano_cfapi_enabled %>
|
enabled: <%= @murano_cfapi_enabled %>
|
||||||
syslog_log_facility_murano: <%= @syslog_log_facility_murano %>
|
syslog_log_facility_murano: <%= @syslog_log_facility_murano %>
|
||||||
"murano::logging::default_log_levels":
|
"murano::logging::default_log_levels":
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
notice('MURANO PLUGIN: murano_keystone.pp')
|
notice('MURANO PLUGIN: murano_keystone.pp')
|
||||||
|
|
||||||
$murano_hash = hiera_hash('murano', {})
|
$murano_hash = hiera_hash('murano_plugin', {})
|
||||||
$murano_cfapi_hash = hiera_hash('murano_cfapi', {})
|
$murano_cfapi_hash = hiera_hash('murano_cfapi_plugin', {})
|
||||||
$public_ip = hiera('public_vip')
|
$public_ip = hiera('public_vip')
|
||||||
$management_ip = hiera('management_vip')
|
$management_ip = hiera('management_vip')
|
||||||
$region = hiera('region', 'RegionOne')
|
$region = hiera('region', 'RegionOne')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
notice('MODULAR: murano_rabbitmq.pp')
|
notice('MODULAR: murano_rabbitmq.pp')
|
||||||
|
|
||||||
$rabbit_hash = hiera_hash('rabbit', {})
|
$rabbit_hash = hiera_hash('rabbit', {})
|
||||||
$murano_hash = hiera_hash('murano', {})
|
$murano_hash = hiera_hash('murano_plugin', {})
|
||||||
|
|
||||||
if $rabbit_hash == {} {
|
if $rabbit_hash == {} {
|
||||||
fail('No rabbit_hash defined')
|
fail('No rabbit_hash defined')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
notice('MURANO PLUGIN: update_openrc.pp')
|
notice('MURANO PLUGIN: update_openrc.pp')
|
||||||
|
|
||||||
$murano_hash = hiera_hash('murano', {})
|
$murano_hash = hiera_hash('murano_plugin', {})
|
||||||
$murano_plugins = $murano_hash['plugins']
|
$murano_plugins = $murano_hash['plugins']
|
||||||
$murano_repo_url = $murano_hash['murano_repo_url']
|
$murano_repo_url = $murano_hash['murano_repo_url']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue