incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1187833 - in /incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper: manifests/init.pp templates/zoo.cfg
Date Sun, 23 Oct 2011 00:29:59 GMT
Author: rvs
Date: Sun Oct 23 00:29:59 2011
New Revision: 1187833

URL: http://svn.apache.org/viewvc?rev=1187833&view=rev
Log:
BIGTOP-142. need to update zookeeper manifest to the state of packages

Modified:
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/manifests/init.pp
    incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/templates/zoo.cfg

Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/manifests/init.pp?rev=1187833&r1=1187832&r2=1187833&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/manifests/init.pp
(original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/manifests/init.pp
Sun Oct 23 00:29:59 2011
@@ -28,17 +28,17 @@ class hadoop-zookeeper {
     service { "hadoop-zookeeper-server":
       ensure => running,
       require => Package["hadoop-zookeeper-server"],
-      subscribe => File["/etc/zookeeper/zoo.cfg"],
+      subscribe => File["/etc/zookeeper/conf/zoo.cfg"],
       hasrestart => true,
       hasstatus => true,
     } 
 
-    file { "/etc/zookeeper/zoo.cfg":
+    file { "/etc/zookeeper/conf/zoo.cfg":
       content => template("hadoop-zookeeper/zoo.cfg"),
       require => Package["hadoop-zookeeper-server"],
     }
 
-    file { "/var/zookeeper/myid":
+    file { "/var/lib/zookeeper/myid":
       content => inline_template("<%= myid %>"),
       require => Package["hadoop-zookeeper-server"],
     }

Modified: incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/templates/zoo.cfg
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/templates/zoo.cfg?rev=1187833&r1=1187832&r2=1187833&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/templates/zoo.cfg
(original)
+++ incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop-zookeeper/templates/zoo.cfg
Sun Oct 23 00:29:59 2011
@@ -23,7 +23,7 @@ initLimit=10
 # sending a request and getting an acknowledgement
 syncLimit=5
 # the directory where the snapshot is stored.
-dataDir=/var/zookeeper
+dataDir=/var/lib/zookeeper
 # the port at which the clients will connect
 clientPort=2181
 <% ensemble.each_with_index do |server,idx| %>



Mime
View raw message