Move NTP and Memacache respectively into step 1 and step 2
[apex-tripleo-heat-templates.git] / puppet / manifests / overcloud_controller_pacemaker.pp
index ea2d210..9f266b6 100644 (file)
@@ -37,6 +37,10 @@ if $::hostname == downcase(hiera('bootstrap_nodeid')) {
 
 if hiera('step') >= 1 {
 
+  if count(hiera('ntp::servers')) > 0 {
+    include ::ntp
+  }
+
   $controller_node_ips = split(hiera('controller_node_ips'), ',')
   $controller_node_names = split(downcase(hiera('controller_node_names')), ',')
   class { '::tripleo::loadbalancer' :
@@ -163,10 +167,6 @@ if hiera('step') >= 2 {
     }
   }
 
-  if count(hiera('ntp::servers')) > 0 {
-    include ::ntp
-  }
-
   # MongoDB
   if downcase(hiera('ceilometer_backend')) == 'mongodb' {
     $mongo_node_ips = split(hiera('mongo_node_ips'), ',')
@@ -373,6 +373,9 @@ MYSQL_HOST=localhost\n",
     include ::ceph::profile::osd
   }
 
+  # Memcached
+  include ::memcached
+
 } #END STEP 2
 
 if (hiera('step') >= 3 and $pacemaker_master) or hiera('step') >= 4 {
@@ -534,7 +537,6 @@ if (hiera('step') >= 3 and $pacemaker_master) or hiera('step') >= 4 {
   }
 
   # swift proxy
-  include ::memcached
   include ::swift::proxy
   include ::swift::proxy::proxy_logging
   include ::swift::proxy::healthcheck