Uploaded image for project: 'R10K'
  1. R10K
  2. RK-264

Add --force (and --no-force) flags to "puppetfile install" action.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      • The r10k action "puppetfile install" should respect --force flag to control whether or not local modifications will be overwritten.
      • The default for "puppetfile install" should be --no-force
    • Team:
      Enterprise in the Cloud
    • Story Points:
      2
    • Sprint:
      ETC 2017-10-31
    • Release Notes:
      Known Issue
    • Release Notes Summary:
      puppetfile install now has a --force flag to force the overwriting of local modifications in git-based modules. The default is to skip git-based modules with puppetfile install.

      Description

      We changed the default behavior when encountering local modifications in 2.4.0 but we should really have flags to opt in or out of the behavior.

      The default for puppetfile install should probably be --no-force.

      All the functionality already exists, it should just be a matter of plumbing through the new flags.

      https://github.com/puppetlabs/r10k/issues/483

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              colin.brock Colin Brock
              Reporter:
              jesse Jesse Scott
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support