Updated Branches:
  refs/heads/branch-0.8 a8f246d6f -> 891c57cd5

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/891c57cd
Tree: http://git-wip-us.apache.org/repos/asf/whirr/tree/891c57cd
Diff: http://git-wip-us.apache.org/repos/asf/whirr/diff/891c57cd

Branch: refs/heads/branch-0.8
Commit: 891c57cd5f2648be4df21c799ccdf1f532eda2d0
Parents: a8f246d
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:54 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/891c57cd/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/891c57cd/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/891c57cd/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/891c57cd/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