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

Make Puppet understand symlinks pointing to versioned envs

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.13.0
    • None
    • New Feature
    • 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`.
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support