Jira (PUP-5302) composite namevars not taken into account in prefetch

6 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Jun 11, 2020, 11:13:02 AM6/11/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Bug PUP-5302
composite namevars not taken into account in prefetch
Change By: Josh Cooper
Summary: composite namevar namevars not taker taken into account in prefetch .
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 11, 2020, 11:18:03 AM6/11/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: composite-namevars

Josh Cooper (Jira)

unread,
Jun 15, 2021, 7:03:02 PM6/15/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-5302
 
Re: composite namevars not taken into account in prefetch

Sofer Athlan-Guyot Just a general comment, if you're using composite name vars, then you'll want to implement the title_patterns method as is done for the java_ks module: https://github.com/puppetlabs/puppetlabs-java_ks/blob/35940b43841255a481d8faa64e42bf207127806a/lib/puppet/type/java_ks.rb#L184-L209. Then you can define your resource titles like project_less-domain and puppet will use the title_patterns to decompose the title and set the respective parameters.

It also looks like there's some overlap between this and PUP-7497
 

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages