Jira (PUP-11004) Backport logic to detect migrated CA dir location

23 views
Skip to first unread message

Maggie Dreyer (Jira)

unread,
Apr 5, 2021, 1:29:04 PM4/5/21
to puppe...@googlegroups.com
Maggie Dreyer created an issue
 
Puppet / Task PUP-11004
Backport logic to detect migrated CA dir location
Issue Type: Task Task
Assignee: Unassigned
Created: 2021/04/05 10:28 AM
Priority: Normal Normal
Reporter: Maggie Dreyer

In Puppet 7, we added logic to Puppet's settings defaults to detect whether the CA dir was in the old (SSL dir) location or in the new migrated location. We need to backport this detection logic to 6.x, with the default case reversed: we want to only return the new location if the dir already exists there, indicating that the CA dir has been migrated, and return the SSL dir location otherwise.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Maggie Dreyer (Jira)

unread,
Apr 5, 2021, 1:34:02 PM4/5/21
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
In Puppet 7, we added [ logic |https://github.com/puppetlabs/puppet/blob/main/lib/puppet/defaults.rb#L35-L49] to Puppet's settings defaults to detect whether the CA dir was in the old (SSL dir) location or in the new migrated location. We need to backport this detection logic to 6.x, with the default case reversed: we want to only return the new location if the dir already exists there, indicating that the CA dir has been migrated, and return the SSL dir location otherwise.

Maggie Dreyer (Jira)

unread,
Apr 5, 2021, 1:35:02 PM4/5/21
to puppe...@googlegroups.com

Maggie Dreyer (Jira)

unread,
Apr 5, 2021, 1:35:03 PM4/5/21
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
Sprint: Froyo - 04/7/2021

Maggie Dreyer (Jira)

unread,
Apr 5, 2021, 1:35:03 PM4/5/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 6, 2021, 1:28:03 AM4/6/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.22.0

Maggie Dreyer (Jira)

unread,
Apr 6, 2021, 2:51:03 PM4/6/21
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
Release Notes: Enhancement

Maggie Dreyer (Jira)

unread,
Apr 6, 2021, 2:52:03 PM4/6/21
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
Release Notes Summary: Puppet will now report the right value for the `cadir` setting after migrating the CA.

Claire Cadman (Jira)

unread,
Apr 12, 2021, 9:24:01 AM4/12/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages