Puppet: System Administration Automated

Support

Ticket #703 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Enable the CollExpr for exported resources

Reported by: thijs Assigned to: luke
Priority: normal Milestone: beaker
Component: library Version: 0.23.0
Severity: normal Keywords: tags, export, collect, patch
Cc: Triage Stage: Accepted
Attached Patches: Code Complexity: Unknown

Description

Collecting exported resources currently only works with all resources of one type, or selection based on their name (using the syntax: File <<| title == "<name>" |>>).

However, with the attached patch it seems that the same syntax available for collection of virtual resources becomes available for exported resources.

So then the following becomes possible:

File <<| tag == "<tag>" |>>

and other such constructs (I imagine, I only used it for tags).

At least, it seems to work for me.. ;)

gr, Thijs

Attachments

collexpr.diff (1.6 kB) - added by thijs on 07/02/07 22:36:50.
created with git diff

Change History

07/02/07 22:36:50 changed by thijs

  • attachment collexpr.diff added.

created with git diff

07/04/07 21:37:59 changed by luke

  • status changed from new to assigned.
  • stage changed from Unreviewed to Accepted.
  • milestone set to beaker.

07/18/07 19:33:16 changed by luke

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [2705]. As I expected, this patch did not work, because the db schema has changed too much. I'm not sure why it was working for thijs, though.