Move etcd to step 2
authorFeng Pan <fpan@redhat.com>
Tue, 7 Mar 2017 14:43:14 +0000 (09:43 -0500)
committerFeng Pan <fpan@redhat.com>
Wed, 5 Apr 2017 00:57:32 +0000 (20:57 -0400)
Etcd should be configured and started in step 2 with other core
services when required.

Change-Id: If95a74d211a194f2bfbe9653a6e19e05b095a210
Signed-off-by: Feng Pan <fpan@redhat.com>
manifests/profile/base/etcd.pp

index fc4771f..c29c937 100644 (file)
@@ -46,7 +46,7 @@ class tripleo::profile::base::etcd (
   $nodes       = hiera('etcd_node_names', []),
   $step        = hiera('step'),
 ) {
-  if $step >= 1 {
+  if $step >= 2 {
     class {'::etcd':
       listen_client_urls          => "http://${bind_ip}:${client_port}",
       advertise_client_urls       => "http://${bind_ip}:${client_port}",