Jira (PUP-11455) Composable termini

0 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Feb 10, 2022, 12:57:02 PM2/10/22
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Improvement PUP-11455
Composable termini
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2022/02/10 9:56 AM
Priority: Normal Normal
Reporter: Josh Cooper

Puppet currently only supports a single terminus implementation per model (node, facts, catalog, etc). However, there are times when users want to route to multiple endpoints, such as saving facts to puppetdb and splunk, etc.

From glarizza
https://puppetcommunity.slack.com/archives/C0W1X7ZAL/p1629318412042600

From nate.mccurdy https://puppetcommunity.slack.com/archives/C0W1X7ZAL/p1629391266056000

Composable termini thread
https://puppetcommunity.slack.com/archives/C0W1X7ZAL/p1629406416062500

A common workaround for this limitation is to create a new terminus that inherit from another, perform the operation and delegate to the base class. For example, see

https://github.com/puppetlabs/puppetlabs-splunk_hec/blob/ebf4f4c206ce29c09e654f4dcfb476e0cc73fd67/lib/puppet/indirector/facts/splunk_hec.rb#L33

https://github.com/puppetlabs/puppetlabs-satellite_pe_tools/blob/73b479b8471d734a414ae87ef8af0738c39b40c3/lib/puppet/indirector/facts/satellite.rb#L26

https://github.com/puppetlabs/puppetlabs-hdp/blob/d78b33e98a40c85d3ef1d96621fbc6c11ab1b096/lib/puppet/indirector/facts/hdp.rb#L36

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages