Fix up the control-port for rabbitmq bundles
authorMichele Baldessari <michele@acksyn.org>
Thu, 20 Jul 2017 17:13:34 +0000 (19:13 +0200)
committerMichele Baldessari <michele@acksyn.org>
Fri, 21 Jul 2017 08:46:48 +0000 (10:46 +0200)
Mistakenly this was set to 3121 which is the same port that pacemaker
remote uses. Move this to 3122 which was the plan all along.

Also fix a wrong port comment in redis and mysql at the same time.

Change-Id: Iccca6a53a769570443091577c7d86f47119d9cbb

manifests/profile/pacemaker/database/mysql_bundle.pp
manifests/profile/pacemaker/database/redis_bundle.pp
manifests/profile/pacemaker/rabbitmq_bundle.pp

index a80b2de..21d671c 100644 (file)
 #
 # [*mysql_docker_image*]
 #   (Optional) The docker image to use for creating the pacemaker bundle
-#   Defaults to hiera('tripleo::profile::pacemaker::database::redis_bundle::mysql_docker_image', undef)
+#   Defaults to hiera('tripleo::profile::pacemaker::database::mysql_bundle::mysql_docker_image', undef)
 #
 # [*control_port*]
 #   (Optional) The bundle's pacemaker_remote control port on the host
-#   Defaults to hiera('tripleo::profile::pacemaker::database::redis_bundle::control_port', '3123')
+#   Defaults to hiera('tripleo::profile::pacemaker::database::mysql_bundle::control_port', '3123')
 #
 # [*bootstrap_node*]
 #   (Optional) The hostname of the node responsible for bootstrapping tasks
index ea153a8..8b18858 100644 (file)
@@ -24,7 +24,7 @@
 #
 # [*redis_docker_control_port*]
 #   (Optional) The bundle's pacemaker_remote control port on the host
-#   Defaults to hiera('tripleo::profile::pacemaker::redis_bundle::control_port', '3121')
+#   Defaults to hiera('tripleo::profile::pacemaker::redis_bundle::control_port', '3124')
 #
 # [*pcs_tries*]
 #   (Optional) The number of times pcs commands should be retried.
index 2f848b4..5dd22d2 100644 (file)
@@ -24,7 +24,7 @@
 #
 # [*rabbitmq_docker_control_port*]
 #   (Optional) The bundle's pacemaker_remote control port on the host
-#   Defaults to hiera('tripleo::profile::pacemaker::rabbitmq_bundle::control_port', '3121')
+#   Defaults to hiera('tripleo::profile::pacemaker::rabbitmq_bundle::control_port', '3122')
 #
 # [*bootstrap_node*]
 #   (Optional) The hostname of the node responsible for bootstrapping tasks
@@ -55,7 +55,7 @@
 #
 class tripleo::profile::pacemaker::rabbitmq_bundle (
   $rabbitmq_docker_image        = hiera('tripleo::profile::pacemaker::rabbitmq_bundle::rabbitmq_docker_image', undef),
-  $rabbitmq_docker_control_port = hiera('tripleo::profile::pacemaker::rabbitmq_bundle::control_port', '3121'),
+  $rabbitmq_docker_control_port = hiera('tripleo::profile::pacemaker::rabbitmq_bundle::control_port', '3122'),
   $bootstrap_node               = hiera('rabbitmq_short_bootstrap_node_name'),
   $erlang_cookie                = hiera('rabbitmq::erlang_cookie'),
   $user_ha_queues               = hiera('rabbitmq::nr_ha_queues', 0),