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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.9.0
    • None
    • None
    • 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.
    • Puppet Developer Experience
    • 1
    • PDE 2017-01-11
    • Not Needed
    • problem in code that has not yet been released
    • No Action
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support