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

Relative paths in a hiera v3 config must not be resolved against parent of hiera.yaml

    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 relative paths can be used as 'datadir' in a hiera.yaml version 3 and that they are resolved against the current working directory of the running process.

      Show
      That relative paths can be used as 'datadir' in a hiera.yaml version 3 and that they are resolved against the current working directory of the running process.
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-01-11
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      problem in code that has not yet been released
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      covered by unit tests

      Description

      A datadir that is defined as a relative path in a Hiera version 3 configuration must be treated as relative to the current working directory and not, as it is now, relative to the directory where the hiera.yaml file resides.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thomas.hallgren Thomas Hallgren
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support