Updated Branches: refs/heads/trunk 4fe7718af -> 7580b67fc
WHIRR-732. Fix CDH repo for Ubuntu 12.04. Contributed by sebastien goasguen. Project: http://git-wip-us.apache.org/repos/asf/whirr/repo Commit: http://git-wip-us.apache.org/repos/asf/whirr/commit/7580b67f Tree: http://git-wip-us.apache.org/repos/asf/whirr/tree/7580b67f Diff: http://git-wip-us.apache.org/repos/asf/whirr/diff/7580b67f Branch: refs/heads/trunk Commit: 7580b67fcd3ae1d01a7d6079bdaa0739e2381b10 Parents: 4fe7718 Author: Andrew Bayer <andrew.ba...@gmail.com> Authored: Sun Jun 23 12:31:12 2013 -0700 Committer: Andrew Bayer <andrew.ba...@gmail.com> Committed: Sun Jun 23 12:31:12 2013 -0700 ---------------------------------------------------------------------- CHANGES.txt | 2 ++ services/cdh/src/main/resources/functions/install_cdh_hadoop.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/whirr/blob/7580b67f/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 98d82f8..4485415 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -12,6 +12,8 @@ Release 0.9.0 (Unreleased Changes) BUG FIXES + WHIRR-732. Fix CDH repo for Ubuntu 12.04. (sebastien goasguen via abayer) + Release 0.8.2 - 2013-04-23 IMPROVEMENTS http://git-wip-us.apache.org/repos/asf/whirr/blob/7580b67f/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 db43f56..bc27ce2 100644 --- a/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh +++ b/services/cdh/src/main/resources/functions/install_cdh_hadoop.sh @@ -24,7 +24,7 @@ function register_cloudera_repo() { OS_DISTID=$(lsb_release -si | tr '[A-Z]' '[a-z]') if [ $CDH_MAJOR_VERSION -gt 3 ]; then cat > /etc/apt/sources.list.d/cloudera-$REPO.list <<EOF -deb http://$REPO_HOST/cdh$CDH_MAJOR_VERSION/$OS_DISTID/$OS_CODENAME/amd64/cdh $OS_CODENAME-$REPO contrib +deb [arch=amd64] http://$REPO_HOST/cdh$CDH_MAJOR_VERSION/$OS_DISTID/$OS_CODENAME/amd64/cdh $OS_CODENAME-$REPO contrib deb-src http://$REPO_HOST/cdh$CDH_MAJOR_VERSION/$OS_DISTID/$OS_CODENAME/amd64/cdh $OS_CODENAME-$REPO contrib EOF curl -s http://$REPO_HOST/cdh$CDH_MAJOR_VERSION/$OS_DISTID/$OS_CODENAME/amd64/cdh/archive.key | apt-key add -