Also, do note that hyphens in class names will cause problems in Puppet --> http://projects.puppetlabs.com/issues/5268 Underscores are preferred for the reasons outlined in the Ticket.
On Thu, Jan 31, 2013 at 8:18 AM, Keith Burdis <[email protected]> wrote: > If you like the style guide the you'll like puppet-lint - > https://github.com/rodjek/puppet-lint > > - Keith > > > On 31 January 2013 16:15, Kodiak Firesmith <[email protected]> wrote: > >> I figured this out via taking another look at the style guide. This is >> resolved. >> >> Changed this to this: >> >> class mysql-server inherits mysql{} >> ...to... >> class mysql::server inherits mysql{} >> >> And in node def: >> >> include mysql::server >> >> >> Worked perfectly. Thanks style guide! >> *http://docs.puppetlabs.com/guides/style_guide.html#class-inheritance* >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/puppet-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Gary Larizza Professional Services Engineer -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
