Apply RabbitMQ rabbitmq_* static hiera in nonha with single controller
authorGiulio Fidente <gfidente@redhat.com>
Wed, 1 Jun 2016 20:09:18 +0000 (22:09 +0200)
committerEmilien Macchi <emilien@redhat.com>
Thu, 2 Jun 2016 12:30:51 +0000 (12:30 +0000)
We were not consuming the rabbitmq_* static hiera settings when
deploying without pcmk and with a single controller.

Change-Id: I1506093e3d4365e2617521737c8f53edfb022133

manifests/profile/base/rabbitmq.pp

index e67d71a..6e86eab 100644 (file)
@@ -84,7 +84,12 @@ class tripleo::profile::base::rabbitmq (
       }
     } else {
       # Standard configuration
-      include ::rabbitmq
+      class { '::rabbitmq':
+        tcp_keepalive           => false,
+        config_kernel_variables => $kernel_variables,
+        config_variables        => $config_variables,
+        environment_variables   => $rabbit_env,
+      }
     }
   }