Whirr
  1. Whirr
  2. WHIRR-648

CDH repo install removes other repos with same prefix

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.8.1
    • Component/s: None
    • Labels:
      None

      Description

      The current CDH install scripts all include the following command

      rm -f /etc/yum.repos.d/cloudera*.repo
      

      This can unintentionally remove other repos with the same name (eg Cloudera Manager repo - cloudea-cm.repo).

      It is suggested we drop the rm statement and only clobber the specific repo being installed.

        Activity

        Hide
        Graham Gear added a comment -

        Suggested implementation, removes the rm statement and relies on the redirect to clobber pre-existing repo definitions.

        Show
        Graham Gear added a comment - Suggested implementation, removes the rm statement and relies on the redirect to clobber pre-existing repo definitions.
        Hide
        Tom White added a comment -

        +1 looks good.

        Show
        Tom White added a comment - +1 looks good.
        Hide
        Tom White added a comment -

        I just committed this. Thanks Graham!

        Show
        Tom White added a comment - I just committed this. Thanks Graham!

          People

          • Assignee:
            Graham Gear
            Reporter:
            Graham Gear
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development