[PUP-7072] Metaparameter for passing environment information (like in 'exec' resource) Created: 2017/01/06  Updated: 2017/05/18  Resolved: 2017/05/16

Status: Closed
Project: Puppet
Component/s: Catalog Application, Types and Providers
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Rob Reynolds Assignee: David Lutterkort
Resolution: Won't Fix Votes: 0
Labels: environment, metaparameter, types
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relates to PUP-1125 Exec checks should be turned into met... Closed
relates to PUP-7071 Metaparameter to run as a different u... Closed
CS Priority: Needs Priority
QA Risk Assessment: Needs Assessment


It would be handy to pass an environment parameter to multiple types, similar to how it is done for exec. Sometimes, because it only exists in exec, folks will resolve to using an exec resource instead of a more native resource solely because that resource type is missing environment and similar other features. So instead of having folks fall into the exec anti-pattern out of constraints, we should open that up.

Comment by Geoff Nichols [ 2017/02/02 ]

David Lutterkort, this is something we're not likely to do anytime soon in Puppet, but may be worth considering in the libral design.

Comment by Russell Mull [ 2017/05/16 ]

Thank you for filing this issue. We agree it is likely an improvement, but due to other issues demanding precedence, we don’t anticipate being able to address this any time soon. As such we are closing this as “Won’t Fix.” We may revisit it at a later time, and if so will re-open this ticket.

Generated at Thu Feb 27 16:11:52 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.