The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #4942

Resources resource should pass metaparameters to underlying resource.

Added by Nan Liu about 4 years ago. Updated almost 4 years ago.

Status:AcceptedStart date:10/05/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

Resources resource should pass metaparameters to underlying resource. (or at minimum pass audit metaparameter to the underlying resource).

This need is not met by resources default, since it’s only applied to resources managed by puppet.

Package {
  audit => ensure,
}

Resources resource is the only way to specify all system resource which is useful for auditing:

Resources { "package":
  audit => ensure,
}

History

#1 Updated by Luke Kanies almost 4 years ago

  • Assignee changed from Luke Kanies to Nigel Kersten

#2 Updated by Nigel Kersten almost 4 years ago

  • Status changed from Needs Decision to Accepted
  • Assignee deleted (Nigel Kersten)

This absolutely makes sense for audit.

#3 Updated by Luke Kanies almost 4 years ago

Note that there is a proposed refactor somewhere in the system that recommends passing all params through to created resources. Something like:

resources { user: ensure => absent }

It would operate on all otherwise-unmanaged resources.

I think this is a better plan overall.

Also available in: Atom PDF