Issue #936 has been updated by masterzen. Affected version set to 0.24.4
wyvern wrote: > this would be useful when you have large arrays so that you can just cut and > paste without forgetting to add/remove commas exactly. I have fixed this ticket in the tickets/0.24.x/936 branch of my github repository: http://github.com/masterzen/puppet/tree/tickets%2F0.24.x%2F936 Note: this might conflict with the #636 fix. If rebasing is needed, please let me know. ---------------------------------------- Feature #936: Arrays should support trailing commas http://projects.reductivelabs.com/issues/show/936 Author: wyvern Status: Accepted Priority: Low Assigned to: community Category: language Target version: unplanned Complexity: Medium Patch: None Affected version: 0.24.4 Keywords: This works: <pre> bind::file { [[a]]:} </pre> However this throws a syntax error: <pre> bind::file { [[a]]:} </pre> this would be useful when you have large arrays so that you can just cut and paste without forgetting to add/remove commas exactly. For comparison we can already do this in resources: <pre> file { "/etc/bind/named.conf": content => template("bind/named.conf"), notify => Service[[bind9]], } </pre> however I'd love to be able to do this <pre> bind::file { [ "db.192.168.1.0", "db.192.168.2.0", .... "db.192.168.100.0", ]: } </pre> ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
