Issue #2147 has been updated by luke. Subject changed from template function can't deal with arrrays since to template function does not accept arrays Status changed from Unreviewed to Accepted Target version changed from 0.24.8 to unplanned
---------------------------------------- Bug #2147: template function does not accept arrays http://projects.reductivelabs.com/issues/2147 Author: BeI Status: Unreviewed Priority: Normal Assigned to: Category: functions Target version: unplanned Complexity: Unknown Affected version: 0.24.8 Keywords: <pre> $template = ["puppet/one.erb", "puppet/two.erb"] notice(template($template)) </pre> throws following error message: <pre> err: Could not retrieve catalog: private method `split' called for ["puppet/one.erb", "puppet/two.erb"]:Array at /etc/puppet/development/modules/puppet/manifests/init.pp:4 on node foo.bar.host </pre> this works fine <pre> notice(template("puppet/one.erb","puppet/two.erb")) </pre> having the possibility to pass arrays into the template function adds great flexibility. This used to work int the 24.7 version. -- 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 -~----------~----~----~----~------~----~------~--~---
