Browse Source

Merge "Add check for bootstrap_node for downcase" into stable/train

changes/49/784049/1 11.6.0
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
7053a4a1c6
64 changed files with 64 additions and 64 deletions
  1. +1
    -1
      manifests/profile/base/aodh.pp
  2. +1
    -1
      manifests/profile/base/aodh/api.pp
  3. +1
    -1
      manifests/profile/base/barbican/api.pp
  4. +1
    -1
      manifests/profile/base/ceilometer/upgrade.pp
  5. +1
    -1
      manifests/profile/base/cinder.pp
  6. +1
    -1
      manifests/profile/base/cinder/api.pp
  7. +1
    -1
      manifests/profile/base/database/mysql.pp
  8. +1
    -1
      manifests/profile/base/designate/central.pp
  9. +1
    -1
      manifests/profile/base/glance/api.pp
  10. +1
    -1
      manifests/profile/base/gnocchi/api.pp
  11. +1
    -1
      manifests/profile/base/heat/api.pp
  12. +1
    -1
      manifests/profile/base/heat/api_cfn.pp
  13. +1
    -1
      manifests/profile/base/heat/engine.pp
  14. +1
    -1
      manifests/profile/base/horizon.pp
  15. +1
    -1
      manifests/profile/base/ironic.pp
  16. +1
    -1
      manifests/profile/base/ironic/api.pp
  17. +1
    -1
      manifests/profile/base/ironic/conductor.pp
  18. +1
    -1
      manifests/profile/base/ironic_inspector.pp
  19. +1
    -1
      manifests/profile/base/keystone.pp
  20. +1
    -1
      manifests/profile/base/manila.pp
  21. +1
    -1
      manifests/profile/base/manila/api.pp
  22. +1
    -1
      manifests/profile/base/mistral.pp
  23. +1
    -1
      manifests/profile/base/mistral/api.pp
  24. +1
    -1
      manifests/profile/base/mistral/engine.pp
  25. +1
    -1
      manifests/profile/base/mistral/event_engine.pp
  26. +1
    -1
      manifests/profile/base/mistral/executor.pp
  27. +1
    -1
      manifests/profile/base/neutron/ovn_northd.pp
  28. +1
    -1
      manifests/profile/base/neutron/plugins/ml2.pp
  29. +1
    -1
      manifests/profile/base/neutron/plugins/nsx.pp
  30. +1
    -1
      manifests/profile/base/neutron/plugins/nuage.pp
  31. +1
    -1
      manifests/profile/base/neutron/plugins/opencontrail.pp
  32. +1
    -1
      manifests/profile/base/neutron/plugins/plumgrid.pp
  33. +1
    -1
      manifests/profile/base/neutron/server.pp
  34. +1
    -1
      manifests/profile/base/nova.pp
  35. +1
    -1
      manifests/profile/base/nova/api.pp
  36. +1
    -1
      manifests/profile/base/nova/conductor.pp
  37. +1
    -1
      manifests/profile/base/nova/ec2api.pp
  38. +1
    -1
      manifests/profile/base/nova/metadata.pp
  39. +1
    -1
      manifests/profile/base/octavia/api.pp
  40. +1
    -1
      manifests/profile/base/panko/api.pp
  41. +1
    -1
      manifests/profile/base/placement.pp
  42. +1
    -1
      manifests/profile/base/placement/api.pp
  43. +1
    -1
      manifests/profile/base/rabbitmq.pp
  44. +1
    -1
      manifests/profile/base/sahara.pp
  45. +1
    -1
      manifests/profile/base/sahara/engine.pp
  46. +1
    -1
      manifests/profile/base/swift/proxy.pp
  47. +1
    -1
      manifests/profile/base/trove/api.pp
  48. +1
    -1
      manifests/profile/base/zaqar.pp
  49. +1
    -1
      manifests/profile/pacemaker/ceph_nfs.pp
  50. +1
    -1
      manifests/profile/pacemaker/cinder/backup.pp
  51. +1
    -1
      manifests/profile/pacemaker/cinder/backup_bundle.pp
  52. +1
    -1
      manifests/profile/pacemaker/cinder/volume.pp
  53. +1
    -1
      manifests/profile/pacemaker/cinder/volume_bundle.pp
  54. +1
    -1
      manifests/profile/pacemaker/database/mysql.pp
  55. +1
    -1
      manifests/profile/pacemaker/database/mysql_bundle.pp
  56. +1
    -1
      manifests/profile/pacemaker/database/redis.pp
  57. +1
    -1
      manifests/profile/pacemaker/database/redis_bundle.pp
  58. +1
    -1
      manifests/profile/pacemaker/haproxy.pp
  59. +1
    -1
      manifests/profile/pacemaker/haproxy_bundle.pp
  60. +1
    -1
      manifests/profile/pacemaker/manila.pp
  61. +1
    -1
      manifests/profile/pacemaker/manila/share_bundle.pp
  62. +1
    -1
      manifests/profile/pacemaker/ovn_dbs_bundle.pp
  63. +1
    -1
      manifests/profile/pacemaker/rabbitmq.pp
  64. +1
    -1
      manifests/profile/pacemaker/rabbitmq_bundle.pp

+ 1
- 1
manifests/profile/base/aodh.pp View File

@ -92,7 +92,7 @@ class tripleo::profile::base::aodh (
$oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/aodh/api.pp View File

@ -56,7 +56,7 @@ class tripleo::profile::base::aodh::api (
$enable_internal_tls = hiera('enable_internal_tls', false),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/barbican/api.pp View File

@ -115,7 +115,7 @@ class tripleo::profile::base::barbican::api (
$oslomsg_notify_username = hiera('oslo_messaging_notify_user_name', 'guest'),
$oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/ceilometer/upgrade.pp View File

@ -32,7 +32,7 @@ class tripleo::profile::base::ceilometer::upgrade (
$bootstrap_node = hiera('gnocchi_api_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/cinder.pp View File

@ -95,7 +95,7 @@ class tripleo::profile::base::cinder (
$oslomsg_notify_username = hiera('oslo_messaging_notify_user_name', 'guest'),
$oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/cinder/api.pp View File

@ -74,7 +74,7 @@ class tripleo::profile::base::cinder::api (
$step = Integer(hiera('step')),
$keystone_resources_managed = hiera('keystone_resources_managed', true),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
$manage_type = $keystone_resources_managed
} else {


+ 1
- 1
manifests/profile/base/database/mysql.pp View File

@ -130,7 +130,7 @@ class tripleo::profile::base::database::mysql (
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/designate/central.pp View File

@ -36,7 +36,7 @@ class tripleo::profile::base::designate::central (
$step = Integer(hiera('step')),
$pools_file_content = undef,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/glance/api.pp View File

@ -156,7 +156,7 @@ class tripleo::profile::base::glance::api (
# DEPRECATED PARAMETERS
$glance_rbd_client_name = undef,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/gnocchi/api.pp View File

@ -80,7 +80,7 @@ class tripleo::profile::base::gnocchi::api (
$step = Integer(hiera('step')),
$incoming_storage_driver = hiera('incoming_storage_driver', undef),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/heat/api.pp View File

@ -55,7 +55,7 @@ class tripleo::profile::base::heat::api (
$heat_api_network = hiera('heat_api_network', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/heat/api_cfn.pp View File

@ -55,7 +55,7 @@ class tripleo::profile::base::heat::api_cfn (
$heat_api_cfn_network = hiera('heat_api_cfn_network', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/heat/engine.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::heat::engine (
$bootstrap_node = hiera('heat_engine_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/horizon.pp View File

@ -65,7 +65,7 @@ class tripleo::profile::base::horizon (
$neutron_options = hiera('horizon::neutron_options', {}),
$memcached_ips = hiera('memcached_node_ips')
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/ironic.pp View File

@ -61,7 +61,7 @@ class tripleo::profile::base::ironic (
$oslomsg_rpc_use_ssl = hiera('oslo_messaging_rpc_use_ssl', '0'),
) {
# Database is accessed by both API and conductor, hence it's here.
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/ironic/api.pp View File

@ -57,7 +57,7 @@ class tripleo::profile::base::ironic::api (
include ::tripleo::profile::base::ironic
include ::tripleo::profile::base::ironic::authtoken
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/ironic/conductor.pp View File

@ -42,7 +42,7 @@ class tripleo::profile::base::ironic::conductor (
) {
include ::tripleo::profile::base::ironic
# Database is accessed by both API and conductor, hence it's here.
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/ironic_inspector.pp View File

@ -61,7 +61,7 @@ class tripleo::profile::base::ironic_inspector (
include ::tripleo::profile::base::ironic_inspector::authtoken
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/keystone.pp View File

@ -205,7 +205,7 @@ class tripleo::profile::base::keystone (
$memcached_port = hiera('memcached_port', 11211),
$keystone_resources_managed = hiera('keystone_resources_managed', true),
) {
if $::hostname == downcase($bootstrap_node) and $keystone_resources_managed {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) and $keystone_resources_managed {
$sync_db = true
$manage_roles = true
$manage_endpoint = true


+ 1
- 1
manifests/profile/base/manila.pp View File

@ -90,7 +90,7 @@ class tripleo::profile::base::manila (
$oslomsg_notify_username = hiera('oslo_messaging_notify_user_name', 'guest'),
$oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/manila/api.pp View File

@ -95,7 +95,7 @@ class tripleo::profile::base::manila::api (
$enable_internal_tls = hiera('enable_internal_tls', false),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/mistral.pp View File

@ -91,7 +91,7 @@ class tripleo::profile::base::mistral (
$oslomsg_notify_username = hiera('oslo_messaging_notify_user_name', 'guest'),
$oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/mistral/api.pp View File

@ -60,7 +60,7 @@ class tripleo::profile::base::mistral::api (
$mistral_api_wsgi_enabled = hiera('mistral_wsgi_enabled', true),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/mistral/engine.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::mistral::engine (
$bootstrap_node = hiera('mistral_engine_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/mistral/event_engine.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::mistral::event_engine (
$bootstrap_node = hiera('mistral_event_engine_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/mistral/executor.pp View File

@ -37,7 +37,7 @@ class tripleo::profile::base::mistral::executor (
$step = Integer(hiera('step')),
$docker_group = false,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/neutron/ovn_northd.pp View File

@ -32,7 +32,7 @@ class tripleo::profile::base::neutron::ovn_northd (
if $step >= 4 {
# Note this only runs on the first node in the cluster when
# deployed on a role where multiple nodes exist.
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
include ::ovn::northd
}
}


+ 1
- 1
manifests/profile/base/neutron/plugins/ml2.pp View File

@ -44,7 +44,7 @@ class tripleo::profile::base::neutron::plugins::ml2 (
$service_names = hiera('service_names'),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/neutron/plugins/nsx.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::neutron::plugins::nsx (
$bootstrap_node = hiera('neutron_plugin_nsx_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/neutron/plugins/nuage.pp View File

@ -29,7 +29,7 @@ class tripleo::profile::base::neutron::plugins::nuage (
$bootstrap_node = hiera('neutron_plugin_nuage_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/neutron/plugins/opencontrail.pp View File

@ -29,7 +29,7 @@ class tripleo::profile::base::neutron::plugins::opencontrail (
$bootstrap_node = hiera('contrail_neutron_plugin_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/neutron/plugins/plumgrid.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::neutron::plugins::plumgrid (
$bootstrap_node = hiera('neutron_plugin_plumgrid_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/neutron/server.pp View File

@ -100,7 +100,7 @@ class tripleo::profile::base::neutron::server (
$tls_proxy_port = 9696,
$designate_api_enabled = hiera('designate_api_enabled', false),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/nova.pp View File

@ -107,7 +107,7 @@ class tripleo::profile::base::nova (
$enable_cache = true,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/nova/api.pp View File

@ -88,7 +88,7 @@ class tripleo::profile::base::nova::api (
$metadata_tls_proxy_fqdn = undef,
$metadata_tls_proxy_port = 8775,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/nova/conductor.pp View File

@ -34,7 +34,7 @@ class tripleo::profile::base::nova::conductor (
include ::tripleo::profile::base::nova
include ::nova::db
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/nova/ec2api.pp View File

@ -97,7 +97,7 @@ class tripleo::profile::base::nova::ec2api (
$metadata_tls_proxy_fqdn = undef,
$metadata_tls_proxy_port = 8789,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/nova/metadata.pp View File

@ -53,7 +53,7 @@ class tripleo::profile::base::nova::metadata (
$nova_metadata_network = hiera('nova_metadata_network', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/octavia/api.pp View File

@ -73,7 +73,7 @@ class tripleo::profile::base::octavia::api (
$ovn_db_host = undef,
$ovn_nb_port = undef,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/panko/api.pp View File

@ -60,7 +60,7 @@ class tripleo::profile::base::panko::api (
$enable_panko_expirer = hiera('enable_panko_expirer', true),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/placement.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::placement (
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/placement/api.pp View File

@ -53,7 +53,7 @@ class tripleo::profile::base::placement::api (
$placement_network = hiera('placement_network', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/rabbitmq.pp View File

@ -245,7 +245,7 @@ class tripleo::profile::base::rabbitmq (
}
}
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$rabbitmq_bootstrapnode = true
} else {
$rabbitmq_bootstrapnode = false


+ 1
- 1
manifests/profile/base/sahara.pp View File

@ -90,7 +90,7 @@ class tripleo::profile::base::sahara (
$oslomsg_notify_username = hiera('oslo_messaging_notify_user_name', 'guest'),
$oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/sahara/engine.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::sahara::engine (
$bootstrap_node = hiera('sahara_engine_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/swift/proxy.pp View File

@ -118,7 +118,7 @@ class tripleo::profile::base::swift::proxy (
$tls_proxy_fqdn = undef,
$tls_proxy_port = 8080,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/base/trove/api.pp View File

@ -31,7 +31,7 @@ class tripleo::profile::base::trove::api (
$bootstrap_node = hiera('trove_api_short_bootstrap_node_name', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false


+ 1
- 1
manifests/profile/base/zaqar.pp View File

@ -75,7 +75,7 @@ class tripleo::profile::base::zaqar (
$redis_vip = hiera('redis_vip', undef),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$is_bootstrap = true
} else {
$is_bootstrap = false


+ 1
- 1
manifests/profile/pacemaker/ceph_nfs.pp View File

@ -36,7 +36,7 @@ class tripleo::profile::pacemaker::ceph_nfs (
$step = hiera('step'),
$pcs_tries = hiera('pcs_tries', 20),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/cinder/backup.pp View File

@ -44,7 +44,7 @@ class tripleo::profile::pacemaker::cinder::backup (
stop => '/bin/true',
}
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/cinder/backup_bundle.pp View File

@ -78,7 +78,7 @@ class tripleo::profile::pacemaker::cinder::backup_bundle (
$pcs_tries = hiera('pcs_tries', 20),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/cinder/volume.pp View File

@ -43,7 +43,7 @@ class tripleo::profile::pacemaker::cinder::volume (
stop => '/bin/true',
}
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/cinder/volume_bundle.pp View File

@ -78,7 +78,7 @@ class tripleo::profile::pacemaker::cinder::volume_bundle (
$tls_priorities = hiera('tripleo::pacemaker::tls_priorities', undef),
$bundle_user = 'root',
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/database/mysql.pp View File

@ -120,7 +120,7 @@ class tripleo::profile::pacemaker::database::mysql (
$open_files_limit = 16384,
$promote_timeout = 300,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/database/mysql_bundle.pp View File

@ -189,7 +189,7 @@ class tripleo::profile::pacemaker::database::mysql_bundle (
$promote_timeout = 300,
$force_ocf = false,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/database/redis.pp View File

@ -111,7 +111,7 @@ class tripleo::profile::pacemaker::database::redis (
$tls_proxy_fqdn = undef,
$tls_proxy_port = 6379,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/database/redis_bundle.pp View File

@ -138,7 +138,7 @@ class tripleo::profile::pacemaker::database::redis_bundle (
$bundle_user = 'root',
$force_ocf = false,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/haproxy.pp View File

@ -61,7 +61,7 @@ class tripleo::profile::pacemaker::haproxy (
manage_firewall => $manage_firewall,
}
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/haproxy_bundle.pp View File

@ -127,7 +127,7 @@ class tripleo::profile::pacemaker::haproxy_bundle (
) {
include ::tripleo::profile::base::haproxy
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/manila.pp View File

@ -36,7 +36,7 @@ class tripleo::profile::pacemaker::manila (
$step = Integer(hiera('step')),
$pcs_tries = hiera('pcs_tries', 20),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/manila/share_bundle.pp View File

@ -83,7 +83,7 @@ class tripleo::profile::pacemaker::manila::share_bundle (
$pcs_tries = hiera('pcs_tries', 20),
$step = Integer(hiera('step')),
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/ovn_dbs_bundle.pp View File

@ -135,7 +135,7 @@ class tripleo::profile::pacemaker::ovn_dbs_bundle (
$force_ocf = false,
) {
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/rabbitmq.pp View File

@ -86,7 +86,7 @@ class tripleo::profile::pacemaker::rabbitmq (
$rabbit_nodes = []
}
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


+ 1
- 1
manifests/profile/pacemaker/rabbitmq_bundle.pp View File

@ -146,7 +146,7 @@ class tripleo::profile::pacemaker::rabbitmq_bundle (
$rabbit_nodes = []
}
if $::hostname == downcase($bootstrap_node) {
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$pacemaker_master = true
} else {
$pacemaker_master = false


Loading…
Cancel
Save