Revert "Replace hiera('service_names') by hiera('enabled_services')"
This reverts commit7970733cf1
. Depends-On: I1f062b8b9f936e6fbf2febf64244e91b59b8ba1b Closes-Bug: #1855138 (cherry picked from commit950caffea8
) Change-Id: I44dfe2f0aff699aca78577b1e38098533a634520
This commit is contained in:
parent
45b91c3f09
commit
e7332417b2
@ -151,7 +151,7 @@ class tripleo::firewall(
|
||||
# dport: 999
|
||||
# proto: udp
|
||||
# action: accept
|
||||
$service_names = hiera('enabled_services', [])
|
||||
$service_names = hiera('service_names', [])
|
||||
tripleo::firewall::service_rules { $service_names: }
|
||||
|
||||
|
||||
|
@ -116,7 +116,7 @@ class tripleo::profile::base::logging::fluentd (
|
||||
$fluentd_monitoring = true,
|
||||
$fluentd_monitoring_bind = '127.0.0.1',
|
||||
$fluentd_monitoring_port = 24220,
|
||||
$service_names = hiera('enabled_services', []),
|
||||
$service_names = hiera('service_names', []),
|
||||
$fluentd_managed_rsyslog = false
|
||||
) {
|
||||
if $step >= 4 {
|
||||
|
@ -25,7 +25,7 @@
|
||||
# [*service_names*]
|
||||
# (Optional) List of services enabled on the current role. This is used
|
||||
# to obtain per-service configuration information.
|
||||
# Defaults to hiera('enabled_services', [])
|
||||
# Defaults to hiera('service_names', [])
|
||||
#
|
||||
# [*elasticsearch*]
|
||||
# (Optional) Hash. Configuration for output plugin omelasticsearch.
|
||||
@ -47,7 +47,7 @@
|
||||
# Defaults to undef
|
||||
class tripleo::profile::base::logging::rsyslog (
|
||||
$step = Integer(hiera('step')),
|
||||
$service_names = hiera('enabled_services', []),
|
||||
$service_names = hiera('service_names', []),
|
||||
$elasticsearch = undef,
|
||||
$elasticsearch_tls_ca_cert = undef,
|
||||
$elasticsearch_tls_client_cert = undef,
|
||||
|
@ -267,7 +267,7 @@ class tripleo::profile::base::metrics::collectd (
|
||||
$amqp_interval = undef,
|
||||
$qdr_mode = hiera('tripleo::profile::base::metrics::qdr::router_mode', 'edge'),
|
||||
$qdr_listens_on_external = hiera('tripleo::profile::base::metrics::qdr::listen_on_external', false),
|
||||
$service_names = hiera('enabled_services', []),
|
||||
$service_names = hiera('service_names', []),
|
||||
$collectd_manage_repo = false,
|
||||
$python_read_plugins = [],
|
||||
$enable_sensubility = false,
|
||||
|
@ -31,7 +31,7 @@
|
||||
# We may not want to configure a ml2 plugin for a role,
|
||||
# in spite of the fact that it is in the drivers list.
|
||||
# Check if the required service is enabled from the service list.
|
||||
# Defaults to hiera('enabled_services')
|
||||
# Defaults to hiera('service_names')
|
||||
#
|
||||
# [*step*]
|
||||
# (Optional) The current step in deployment. See tripleo-heat-templates
|
||||
@ -41,7 +41,7 @@
|
||||
class tripleo::profile::base::neutron::plugins::ml2 (
|
||||
$bootstrap_node = hiera('neutron_plugin_ml2_short_bootstrap_node_name', undef),
|
||||
$mechanism_drivers = hiera('neutron::plugins::ml2::mechanism_drivers'),
|
||||
$service_names = hiera('enabled_services'),
|
||||
$service_names = hiera('service_names'),
|
||||
$step = Integer(hiera('step')),
|
||||
) {
|
||||
if $::hostname == downcase($bootstrap_node) {
|
||||
|
@ -36,7 +36,7 @@
|
||||
# (Optional) List of services enabled on the current role.
|
||||
# If the nova_migration_target service is not enabled then migration over
|
||||
# ssh will be disabled.
|
||||
# Defaults to hiera('enabled_services', [])
|
||||
# Defaults to hiera('service_names', [])
|
||||
#
|
||||
# [*wrapper_command*]
|
||||
# (Internal) Used to override the wrapper command when proxying
|
||||
@ -46,7 +46,7 @@ class tripleo::profile::base::nova::migration::target (
|
||||
$step = Integer(hiera('step')),
|
||||
$ssh_authorized_keys = [],
|
||||
$ssh_localaddrs = [],
|
||||
$services_enabled = hiera('enabled_services', []),
|
||||
$services_enabled = hiera('service_names', []),
|
||||
$wrapper_command = '/bin/nova-migration-wrapper',
|
||||
) {
|
||||
|
||||
|
2
spec/fixtures/hieradata/step2.yaml
vendored
2
spec/fixtures/hieradata/step2.yaml
vendored
@ -1,7 +1,7 @@
|
||||
---
|
||||
step: 2
|
||||
# rsyslog tests
|
||||
enabled_services:
|
||||
service_names:
|
||||
- 'horizon'
|
||||
tripleo_logging_sources_horizon:
|
||||
- file: '/var/log/horizon/test.log'
|
||||
|
2
spec/fixtures/hieradata/step4.yaml
vendored
2
spec/fixtures/hieradata/step4.yaml
vendored
@ -11,7 +11,7 @@ cinder::backend::dellsc_iscsi::iscsi_ip_address: '127.0.0.1'
|
||||
cinder::backend::eqlx::eqlx_chap_login: 'user'
|
||||
cinder::backend::eqlx::eqlx_chap_password: 'user'
|
||||
cinder::backend::emc_vnx::storage_vnx_pool_names: 'emc-storage-pool'
|
||||
enabled_services:
|
||||
service_names:
|
||||
- 'ceilometer_agent_central'
|
||||
- 'horizon'
|
||||
tripleo_fluentd_groups_ceilometer_agent_central:
|
||||
|
Loading…
Reference in New Issue
Block a user