I believe that would be a good addition. You should raise a feature request with category 'Documentation' so its tracked:
http://projects.puppetlabs.com/projects/puppet/issues ken. On Tue, Jun 14, 2011 at 4:26 PM, Matthias Saou <th...@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net> wrote: > Hi, > > The documentation section gives a good example for the "exec" type : > http://docs.puppetlabs.com/guides/language_guide.html#resource-defaults > > But for scoped definitions, I had to figure out that each word needs to > be capitalized, not just the first word : > > Mymod::mydef { 'foo': } gives Syntax error at '::mydef' > > What works is this (note the second capital 'M') : > > Mymod::Mydef { 'foo': } > > Could the documentation section about capitalization be updated to > include a scoped example and make it clear for everyone? > http://docs.puppetlabs.com/guides/language_guide.html#capitalization > > I'm sure others will bump into this too, or already have :-) > > Matthias > > -- > Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ > Fedora release 14 (Laughlin) - Linux kernel 2.6.35.13-91.fc14.x86_64 > Load : 0.22 0.36 0.46 > > -- > 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. > > -- 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.
