Repository: bigtop
Updated Branches:
  refs/heads/master 0e7029fd7 -> a72e6514d


BIGTOP-2906: Failed to start solr-server service using bigtop-deploy

Change-Id: I66a6c48848a7e99ccd2e2fadb359ba01493c7a63
Signed-off-by: Jun He <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/a72e6514
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/a72e6514
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/a72e6514

Branch: refs/heads/master
Commit: a72e6514d89adca7b38374a2ac51093205b2b63e
Parents: 0e7029f
Author: Jun He <[email protected]>
Authored: Tue Oct 17 13:32:50 2017 +0800
Committer: Evans Ye <[email protected]>
Committed: Tue Dec 12 11:14:53 2017 +0800

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/solr/manifests/init.pp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/a72e6514/bigtop-deploy/puppet/modules/solr/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/solr/manifests/init.pp 
b/bigtop-deploy/puppet/modules/solr/manifests/init.pp
index 62063ef..72c85a4 100644
--- a/bigtop-deploy/puppet/modules/solr/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/solr/manifests/init.pp
@@ -34,7 +34,7 @@ class solr {
 
     exec { "solr init":
       command => "/bin/bash -c '/usr/bin/solrctl debug-dump | grep -q solr.xml 
|| /usr/bin/solrctl init'",
-      require => [ Package["solr-server"], File["/etc/default/solr"] ],
+      require => [ Package["solr-server"], File["/etc/default/solr"], 
Service["zookeeper-server"] ],
       logoutput => true,
     }
 
@@ -44,7 +44,7 @@ class solr {
       subscribe => [Package["solr-server"], File["/etc/default/solr"] ],
       hasrestart => true,
       hasstatus => true,
-    } 
+    }
 
     if ($kerberos_realm and $kerberos_realm != "") {
       require kerberos::client

Reply via email to