Repository: bigtop
Updated Branches:
  refs/heads/master 11f0f905c -> d01aaa52b


BIGTOP-1807: Spark master and worker classes should reference 
common::master_host


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

Branch: refs/heads/master
Commit: d01aaa52b860aff7d630b79c0b3bddedadd068a7
Parents: 11f0f90
Author: Matthew Russell <[email protected]>
Authored: Tue Apr 7 14:33:12 2015 +0100
Committer: jayunit100 <[email protected]>
Committed: Wed Apr 8 04:26:02 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/bigtop/blob/d01aaa52/bigtop-deploy/puppet/modules/spark/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/spark/manifests/init.pp 
b/bigtop-deploy/puppet/modules/spark/manifests/init.pp
index d7a9360..2f87ead 100644
--- a/bigtop-deploy/puppet/modules/spark/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/spark/manifests/init.pp
@@ -32,7 +32,7 @@ class spark {
       ensure => latest,
     }
 
-    if ( $fqdn == $master_host ) {
+    if ( $fqdn == $common::master_host ) {
       service { "spark-master":
         ensure => running,
         require => [ Package["spark-master"], 
File["/etc/spark/conf/spark-env.sh"], ],
@@ -50,7 +50,7 @@ class spark {
       ensure => latest,
     }
 
-    if ( $fqdn == $master_host ) {
+    if ( $fqdn == $common::master_host ) {
       Service["spark-master"] ~> Service["spark-worker"]
     }
     service { "spark-worker":

Reply via email to