Issue #1115 has been updated by masterzen. Status changed from Closed to Re-opened Assigned to changed from community to jamtur01
James, I'm reopening this ticket as the previous patch is not complete. Please apply the following second part: http://github.com/masterzen/puppet/commit/f05696580335aa2a2f41975abc308543dc0ed7e2 from the tickets/0.24.x/1115 branch of my github repository: http://github.com/masterzen/puppet/tree/tickets%2F0.24.x%2F1115 ---------------------------------------- Feature #1115: Allow checking tags from ERb templates http://projects.reductivelabs.com/issues/show/1115 Author: jgoldschrafe Status: Re-opened Priority: Normal Assigned to: jamtur01 Category: language Target version: 0.24.6 Complexity: Easy Patch: Insufficient Affected version: 0.24.4 Keywords: 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. ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
