Issue #2990 has been updated by Mike Cooper.
I would also appreciate this feature. My use case: I am writing a sudo module that will take a list of commands that a user is allowed to run. I would like to be able to pass either a single command as a string, or multiple commands as a list of strings. It doesn't make much sense to rely on the user to pass a single value containing a list of comma separated commands. This use case would also benefit from the function being smart enough to pass a plain string (instead of a list of strings) through the function unmodified. ---------------------------------------- Feature #2990: There's a split(), but no combine() http://projects.puppetlabs.com/issues/2990 Author: Tim Stoop Status: Needs more information Priority: Low Assignee: Category: Target version: Affected version: 0.25.4 Keywords: Branch: The split function is nice, but it would be logical to me if there was also a combine() function, which did about the same, only the other way around. Is that very hard to add? -- 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.
