#1115: Allow checking tags from ERb templates
--------------------------------------------------+-------------------------
 Reporter:  jgoldschrafe                          |        Owner:  community
     Type:  enhancement                           |       Status:  new      
 Priority:  normal                                |    Milestone:  unplanned
Component:  server                                |      Version:  0.24.1   
 Severity:  normal                                |   Resolution:           
 Keywords:  tag tags tagged erb template classes  |        Stage:  Accepted 
    Patch:  Code                                  |   Complexity:  Easy     
--------------------------------------------------+-------------------------
Changes (by johnf):

  * keywords:  tag tags tagged erb template => tag tags tagged erb template
               classes
  * patch:  None => Code

Comment:

 Created a patch for this. http://www.inodes.org/~johnf/git/puppet
 pending/ticket_1115 branch.

 defines to variables available in ERB
    classes - An array of all the classes for the node
    tags - An  array of all the tags for the node

 PuppetTemplating should be updated once this has been applied.

 Also maybe we should reserve some space in the style guide and these
 should be called Classes and Tags or maybe puppet_classes

-- 
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1115#comment:2>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to