[
https://issues.apache.org/jira/browse/WHIRR-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239247#comment-13239247
]
Karel Vervaeke commented on WHIRR-573:
--------------------------------------
I would take this a step further. Something along these lines:
whirr.env.CDH_HOST=archive.cloudera.com
whirr.env.CDH_RELEASE=cdh3
whirr.env.CDH_DEB_REPO=http://${whirr.env.CDH_HOST}/debian
whirr.env.CDH_DEB_DISTRO=@DISTRO@-${whirr.env.CDH_RELEASE}
whirr.env.CDH_DEB_KEY_URL=http://${whirr.env.CDH_HOST}/debian/archive.key
whirr.env.CDH_RPM_REPO=http://${whirr.env.CDH_HOST}/redhat
whirr.env.CDH_RPM_MIRRORLIST=http://${whirr.env.CDH_RPM_REPO}/cdh/@REPO_NUMBER@/mirrors
whirr.env.CDH_RPM_GPGKEY=http://${whirr.env.CDH_RPM_REPO}/cdh/RPM-GPG-KEY-cloudera
The @DISTRO@ part and the @REPO_NUMBER@ would be calculated by the shell
scripts.
Bonus points for using a template (WHIRR-370) to generate the
cloudera.list/.repo file instead
of duplicating the content in different shell scripts. (We still need to
replace the @DISTRO@ and @REPO_NUMBER@, but a simple 'sed' will do the trick).
> Allow specification of REPO_HOST for RPMs/debs
> ----------------------------------------------
>
> Key: WHIRR-573
> URL: https://issues.apache.org/jira/browse/WHIRR-573
> Project: Whirr
> Issue Type: Improvement
> Reporter: Tom White
> Assignee: Tom White
> Fix For: 0.8.0, 0.7.2
>
>
> This would allow use of e.g. nightly.cloudera.com, not just
> archive.cloudera.com.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira