#1115: Allow checking tags from ERb templates
-----------------------------------------+----------------------------------
Reporter: jgoldschrafe | Owner: community
Type: enhancement | Status: new
Priority: normal | Component: server
Version: 0.24.1 | Severity: normal
Keywords: tag tags tagged erb template | Stage: Unreviewed
Patch: None | Complexity: Unknown
-----------------------------------------+----------------------------------
The current Puppet architecture does not allow tags to be checked from ERb
templates. This should be changed to allow conditional behavior to be set
in the templates based on whether or not a resource possesses a certain
tag.
Currently, tagged() is a Puppet function with no corresponding callable in
pure Ruby. The appropriate functionality should be refactored into a pure
Ruby function that is callable from an ERb template. This will probably
require providing additional data to the ERb binding.
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1115>
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
-~----------~----~----~----~------~----~------~--~---