On Mar 17, 2011, at 8:35 AM, Dan Bode wrote:

> 
> 
> On Thu, Mar 17, 2011 at 8:26 AM, Luke Kanies <l...@puppetlabs.com> wrote:
> On Mar 17, 2011, at 6:53 AM, Nigel Kersten <ni...@puppetlabs.com> wrote:
> 
> > On Thu, Mar 17, 2011 at 2:22 AM, Dan Bode <bod...@gmail.com> wrote:
> >> This function allows you to dynamically generate resources,
> >> passing them as a hash to the create_resources function.
> >
> > One of the bits of feedback we're looking for is the name of the
> > actual function.
> >
> > Are people happy with "creates_resources" ?
> 
> I've used hash2resource for this in the past.  It's a bit perl-style,
> but it's a lot more clear.
> 
> it would have to be hash2resources for accuracy, 
> 
> I was a little worried about overloading this method name b/c in puppet it 
> only applies to types and not resource::types (while this function applies to 
> both types and resources types)

What do you mean 'it'?  Do we already have this function?  I'm confused...

-- 
The optimist proclaims that we live in the best of all possible worlds,
and the pessimist fears that this is true.
                -- James Branch Cabell 1879-1958
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to