Feature #4737

external node classifier should allow resources to be specified

Added by Dan Bode over 1 year ago. Updated 12 months ago.

Status:Accepted Start date:09/08/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:node
Target version:2.7.x
Affected Puppet version: Branch:
Keywords:
Votes: 2

Description

external node classifier should be able to dynamically inject resources into the catalog.

something like this will be required for it to support parametrized classes.

I thought there was already a ticket for this?

could serialize as:

classes:
  - one
parameters:
  foo: bar
resources:
  - file:
      title:
        param1: one
        param2: two

History

Updated by James Turnbull over 1 year ago

  • Target version set to 2.7.x

Updated by James Turnbull over 1 year ago

  • Category set to node
  • Status changed from Unreviewed to Accepted

Updated by Dan Bode 12 months ago

I am happy closing this since resources can now be passed through classes as hashes

classes:
  users:
    dan:
      ensure: present
    bob:
      ensure: present

Also available in: Atom PDF