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

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Feature #4942

Resources resource should pass metaparameters to underlying resource.

Added by Nan Liu over 4 years ago. Updated over 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


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 over 4 years ago

  • Assignee changed from Luke Kanies to Nigel Kersten

#2 Updated by Nigel Kersten over 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 over 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