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

hiera.yaml version 5 format must reserve the built in options

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.9.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      That an error is raised if user enters path or :path, uri or :uri as an options key in a level entry's options.

      Show
      That an error is raised if user enters path or :path , uri or :uri as an options key in a level entry's options .
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-01-25
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      problem introduced before release
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      covered by unit tests

      Description

      The built in options "path" and "uri" are reserved, users should not be able to set them as an option since they are set by the hiera 5 feature if paths/globs or uri/uris are used in the level configuration.

      If user sets path or uri as an option in the options hash an error should be raised.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              henrik.lindberg Henrik Lindberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support