Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3568

stdlib: copy dig to dig44; deprecate original version

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      • both dig and dig44 conform to the old API on puppet prior to puppet 4.5.0
      • using stdlib's dig prints a warning
      • catalog and full-system tests pass green
      • README is updated
    • Story Points:
      1

      Description

      puppet 4.5.0 has introduced a internal version of dig, that is not compatible to stdlib's version. To mitigate this, we need to

      • rename the dig function to dig44 to keep the old API available
      • create a new dig function that warns the user that they should be either using dig44 or switch to puppet 4.5.0's dig function.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ntpttr Nate Potter
              Reporter:
              david.schmitt David Schmitt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support