On Tue, Nov 13, 2012 at 10:19 PM, woosley. xu. <redic...@gmail.com> wrote: > Thanks Jeff, > I copy-pasted the code and it just worked.
That's great to hear! > Here is my function: It'd be wonderful if you contributed this function to the stdlib module as a pull request. There are hundreds (maybe thousands?) of people and organizations who are using the stdlib module to add functionality to Puppet. If you've never submitted a pull request on github before there's some really good information about our contributing process at https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md And there's some general information about pull requests at: https://help.github.com/articles/using-pull-requests Hope this helps. If you'd like to work with me on getting this function into stdlib, I'm jmccune in #puppet-dev on freenode. -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.