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

Make Puppet understand symlinks pointing to versioned envs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.13.0
    • Component/s: None
    • Template:
    • Team:
      Froyo
    • Release Notes:
      New Feature
    • Release Notes Summary:
      If the path to an environment is a symlink, Puppet will now follow that symlink to the source directory if the `versioned_environment_dirs` setting is `true`.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Given an environment_path and an environment name, Puppet needs to be able to figure out where a specific environment lives on disk. This might be a versioned directory, led to by a symlink from the named environment dir. The simplest thing is to have puppet do a readlink on the environment path it currently constructs.

      Example:
      /etc/puppetlabs/code/environments/production -> /opt/puppetlabs/server/data/file_sync/client/code_<SHA>/environments/production

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              molly.waggett Molly Waggett
              Reporter:
              maggie Maggie Dreyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support