Updated Branches:
  refs/heads/trunk 8c4d472bb -> 7bd831d65

WHIRR-648. CDH repo install removes other repos with same prefix. Contributed 
by Graham Gear.


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

Branch: refs/heads/trunk
Commit: 7bd831d6570bb777ccafb24c778c78a9130730eb
Parents: 8c4d472
Author: Tom White <tomwh...@apache.org>
Authored: Thu Sep 20 21:39:34 2012 +0100
Committer: Tom White <tomwh...@apache.org>
Committed: Thu Sep 20 21:39:34 2012 +0100

----------------------------------------------------------------------
 CHANGES.txt                                        |    3 +++
 .../main/resources/functions/install_cdh_hadoop.sh |    1 -
 .../main/resources/functions/install_cdh_hbase.sh  |    1 -
 .../resources/functions/install_cdh_zookeeper.sh   |    1 -
 4 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/whirr/blob/7bd831d6/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 9cee196..447e8e9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -22,6 +22,9 @@ Release 0.8.1 (unreleased changes)
     WHIRR-654. Tell RAT to avoid checking atlassian-idex.xml
     (Steve Loughran via asavu)
 
+    WHIRR-648. CDH repo install removes other repos with same prefix.
+    (Graham Gear via tomwhite)
+
 Release 0.8.0 - 2012-08-17
 
   NEW FEATURES

http://git-wip-us.apache.org/repos/asf/whirr/blob/7bd831d6/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh
----------------------------------------------------------------------
diff --git a/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh 
b/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh
index 113748c..0ccae85 100644
--- a/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh
+++ b/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh
@@ -34,7 +34,6 @@ EOF
     fi
     retry_apt_get -y update
   elif which rpm &> /dev/null; then
-    rm -f /etc/yum.repos.d/cloudera*.repo
     if [ $CDH_MAJOR_VERSION = "4" ]; then
       cat > /etc/yum.repos.d/cloudera-cdh4.repo <<EOF
 [cloudera-cdh4]

http://git-wip-us.apache.org/repos/asf/whirr/blob/7bd831d6/services/cdh/src/main/resources/functions/install_cdh_hbase.sh
----------------------------------------------------------------------
diff --git a/services/cdh/src/main/resources/functions/install_cdh_hbase.sh 
b/services/cdh/src/main/resources/functions/install_cdh_hbase.sh
index ae55f4a..5751e5b 100644
--- a/services/cdh/src/main/resources/functions/install_cdh_hbase.sh
+++ b/services/cdh/src/main/resources/functions/install_cdh_hbase.sh
@@ -33,7 +33,6 @@ EOF
     fi
     retry_apt_get -y update
   elif which rpm &> /dev/null; then
-    rm -f /etc/yum.repos.d/cloudera*.repo
     if [ $CDH_MAJOR_VERSION = "4" ]; then
       cat > /etc/yum.repos.d/cloudera-cdh4.repo <<EOF
 [cloudera-cdh4]

http://git-wip-us.apache.org/repos/asf/whirr/blob/7bd831d6/services/cdh/src/main/resources/functions/install_cdh_zookeeper.sh
----------------------------------------------------------------------
diff --git a/services/cdh/src/main/resources/functions/install_cdh_zookeeper.sh 
b/services/cdh/src/main/resources/functions/install_cdh_zookeeper.sh
index 2ffb593..673b860 100644
--- a/services/cdh/src/main/resources/functions/install_cdh_zookeeper.sh
+++ b/services/cdh/src/main/resources/functions/install_cdh_zookeeper.sh
@@ -33,7 +33,6 @@ EOF
     fi
     retry_apt_get -y update
   elif which rpm &> /dev/null; then
-    rm -f /etc/yum.repos.d/cloudera*.repo
     if [ $CDH_MAJOR_VERSION = "4" ]; then
       cat > /etc/yum.repos.d/cloudera-cdh4.repo <<EOF
 [cloudera-cdh4]

Reply via email to