Jira (PUP-10255) Make Puppet understand symlinks pointing to versioned envs

11 views
Skip to first unread message

Maggie Dreyer (JIRA)

unread,
Jan 27, 2020, 5:13:03 PM1/27/20
to puppe...@googlegroups.com
Maggie Dreyer created an issue
 
Puppet / Task PUP-10255
Make Puppet understand symlinks pointing to versioned envs
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/01/27 2:12 PM
Priority: Normal Normal
Reporter: Maggie Dreyer

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 > /etc/puppetlabs/code<SHA>/environments/production

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Maggie Dreyer (JIRA)

unread,
Jan 27, 2020, 5:18:03 PM1/27/20
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
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 -> / etc opt /puppetlabs/ code- code_ <SHA>/environments/production

Maggie Dreyer (JIRA)

unread,
Jan 27, 2020, 5:18:04 PM1/27/20
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
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

Molly Waggett (JIRA)

unread,
Jan 29, 2020, 2:31:04 PM1/29/20
to puppe...@googlegroups.com

Molly Waggett (JIRA)

unread,
Feb 10, 2020, 8:14:05 PM2/10/20
to puppe...@googlegroups.com
Molly Waggett updated an issue
Change By: Molly Waggett
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`.
Release Notes: New Feature

Molly Waggett (JIRA)

unread,
Feb 10, 2020, 8:15:04 PM2/10/20
to puppe...@googlegroups.com

Kate Medred (JIRA)

unread,
Feb 18, 2020, 12:11:05 PM2/18/20
to puppe...@googlegroups.com
Kate Medred updated an issue
Change By: Kate Medred
Labels: resolved-issue-added
Reply all
Reply to author
Forward
0 new messages