On Thu, Aug 23, 2012 at 4:32 PM, Nick Fagerlund <[email protected]> wrote: > > > On Thursday, August 23, 2012 12:47:16 PM UTC-7, Aaron Grewell wrote: >> >> In >> http://docs.puppetlabs.com/puppet/2.7/reference/lang_datatypes.html#hashes >> it would be helpful to have a hash example that contains multiple keys >> each with multiple subkeys. > > > You're right, I'll put one in. (Although since sometime before 2.7, you can > actually use trailing commas in hashes the same way you do in resource > declarations. I'll add that to the docs too!) >
That looks really good. After reviewing my code, I suspect that my issue was not that Puppet's approach was inconsistent but rather that I never use this kind of nesting in my resource declarations. It's common for hashes though, so the new examples are a definite plus. -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
