Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6538

deprecate hiera_xxx functions (in favour of lookup)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.9.0
    • None
    • None
    • Hide

      that calls to any of the hiera_xxx leads to a deprecation warning that is actionable (shows what to change or links to this ticket, or a docs page) if --strict is set to error or warning.

      Show
      that calls to any of the hiera_xxx leads to a deprecation warning that is actionable (shows what to change or links to this ticket, or a docs page) if --strict is set to error or warning .
    • Puppet Developer Experience
    • 1
    • PDS 2016-11-02, PDS 2016-11-16, PDS 2016-11-30, PDE 2017-01-11
    • Deprecation
    • As a result of "lookup" being the preferred way to manage data from now on, the hiera_xxx family of functions now issue deprecation warnings in favour of lookup().
    • No Action
    • covered by unit tests; deprecations

    Description

      All hiera_xxx functions should be deprecated under the control of --strict where for puppet 4.8.0 both strict=error and strict=warning should issue a deprecation warning (not error).
      This may change to an error in a later release.

      The deprecation should state that the lookup function should be used instead with a suitable example per hiera function, or offer a link to documentation/ticket (nick.fagerlund what is the recommended way of doing this now - still the google links?).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              henrik.lindberg Henrik Lindberg
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support