Issue #2147 has been updated by James Turnbull. Target version deleted (unplanned)
---------------------------------------- Bug #2147: template function does not accept arrays https://projects.puppetlabs.com/issues/2147 Author: benjamin Indermühle Status: Accepted Priority: Normal Assignee: Category: functions Target version: Affected Puppet version: 0.24.8 Keywords: Branch: <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://projects.puppetlabs.com/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.
