Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-762

Add command to update a policy's referenced repo

    XMLWordPrintable

    Details

    • Template:
    • Acceptance Criteria:
      Hide

      Run `update-policy-repo policy1 repo1`

      Show
      Run `update-policy-repo policy1 repo1`
    • Story Points:
      3

      Description

      Inspired by user feedback.

      Two feasible use cases for needing a command like this are:

      • A user notices a mistype of the source for a repo after creating it
      • A user decides that a policy should use a different repo (OS update without messing with the policy list)

      Updating a policy's repo will provide this functionality with little interruption to existing installs, if any are occurring. This command should simply update the reference so that repo file requests can be immediately redirected to the new repo.

      Arguments should be `policy` and `repo`.
      Positional arguments should be (1) [policy] (2) [repo].

      In Scope

      • Add command to update the reference that a policy holds toward a repo
      • Stop errors from being thrown when a repo is deleted but its ISO is not downloaded yet. (Hint: add an exception/log to the command and continue without raising an exception)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            scott.mcclellan Scott McClellan
            QA Contact:
            Sam Woods
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support