Jira (PUP-9390) Static catalogs match multiple environment paths incorrectly

0 views
Skip to first unread message

Sean Millichamp (JIRA)

unread,
Jan 2, 2019, 10:23:03 AM1/2/19
to puppe...@googlegroups.com
Sean Millichamp created an issue
 
Puppet / Bug PUP-9390
Static catalogs match multiple environment paths incorrectly
Issue Type: Bug Bug
Affects Versions: PUP 6.1.0, PUP 5.5.8
Assignee: Unassigned
Components: Compiler
Created: 2019/01/02 7:22 AM
Priority: Normal Normal
Reporter: Sean Millichamp

When using an environmentpath setting with multiple colon-separated paths specified, static catalog compilation does not correctly identify the environment path of the environment being compiled and therefore incorrectly concludes that no file is ever eligible for inlined metadata.

See https://github.com/puppetlabs/puppet/blob/master/lib/puppet/indirector/catalog/compiler.rb#L173

and, from 5.5.x, the same line here: https://github.com/puppetlabs/puppet/blob/5.5.x/lib/puppet/indirector/catalog/compiler.rb#L173

The line in question assumes that there will only ever be a single environmentpath specified. Instead it should use the environmentpath entry which is associated with the environment name being compiled (which was presumably determined considerably earlier in the compilation).

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

Josh Cooper (JIRA)

unread,
Jan 2, 2019, 12:05:02 PM1/2/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jan 2, 2019, 12:05:03 PM1/2/19
to puppe...@googlegroups.com

Austin Boyd (JIRA)

unread,
Dec 12, 2019, 9:03:17 AM12/12/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket IDs: 33167
Zendesk Ticket Count: 1

Josh Cooper (Jira)

unread,
May 22, 2020, 3:38:03 PM5/22/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP-10533
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Oct 23, 2020, 8:00:03 PM10/23/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 5.5.z
Fix Version/s: PUP 6.y
Reply all
Reply to author
Forward
0 new messages