You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/07 01:20:39 UTC
svn commit: r1347205 - in /incubator/ambari/branches/ambari-186: CHANGES.txt
hmc/puppet/modules/hdp-zookeeper/manifests/init.pp
Author: vikram
Date: Wed Jun 6 23:20:39 2012
New Revision: 1347205
URL: http://svn.apache.org/viewvc?rev=1347205&view=rev
Log:
AMBARI-427. Class not found Class['hdp-zookeeper::service'] during uninstall (Contributed by Ramya)
Modified:
incubator/ambari/branches/ambari-186/CHANGES.txt
incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-zookeeper/manifests/init.pp
Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347205&r1=1347204&r2=1347205&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed Jun 6 23:20:39 2012
@@ -6,6 +6,8 @@ characters wide.
Release 0.1.x - unreleased
+ AMBARI-427. Class not found Class['hdp-zookeeper::service'] during uninstall (Ramya via Vikram)
+
AMBARI-531. Remove/disable reconfigure option for Sqoop, Pig, Ganglia and Templeton (Yusaku via Vikram)
AMBARI-529. Fix Advanced Config: HDFS reserved space is in bytes. Too many bytes to count. (Hitesh via Vikram)
Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-zookeeper/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-zookeeper/manifests/init.pp?rev=1347205&r1=1347204&r2=1347205&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-zookeeper/manifests/init.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-zookeeper/manifests/init.pp Wed Jun 6 23:20:39 2012
@@ -36,8 +36,11 @@ class hdp-zookeeper(
}
}
- Anchor['hdp-zookeeper::begin'] -> Hdp::Package['zookeeper'] -> Hdp::Directory_recursive_create[$zk_config_dir] -> Class['hdp-zookeeper::service'] -> Anchor['hdp-zookeeper::end']
-
+ if ($type == 'server') {
+ Anchor['hdp-zookeeper::begin'] -> Hdp::Package['zookeeper'] -> Hdp::Directory_recursive_create[$zk_config_dir] -> Class['hdp-zookeeper::service'] -> Anchor['hdp-zookeeper::end']
+ } else {
+ Anchor['hdp-zookeeper::begin'] -> Hdp::Package['zookeeper'] -> Hdp::Directory_recursive_create[$zk_config_dir] -> Anchor['hdp-zookeeper::end']
+ }
} else {
hdp::package { 'zookeeper':}