[Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Kodiak Firesmith
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!

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Keith Burdis
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 kfiresm...@gmail.com wrote: I figured this out via taking another look at the style guide. This is resolved. Changed this to this: class

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Gary Larizza
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 ke...@burdis.org wrote: If you like the style guide the you'll

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Kodiak Firesmith
Thanks very much Keith; if it's nearly as thorough as rpmlint I've no doubt it will be illustrative and saddening to run my humble modules through. :) On Thursday, January 31, 2013 11:18:22 AM UTC-5, Keith Burdis wrote: If you like the style guide the you'll like puppet-lint -

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Kodiak Firesmith
That's a great point. Excuse me whilst I go rename a few modules... :/ On Thursday, January 31, 2013 11:21:13 AM UTC-5, Gary Larizza wrote: Also, do note that hyphens in class names will cause problems in Puppet -- http://projects.puppetlabs.com/issues/5268 Underscores are preferred for

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Keith Burdis
I certainly found it so :-) On 31 Jan 2013 17:09, Kodiak Firesmith kfiresm...@gmail.com wrote: Thanks very much Keith; if it's nearly as thorough as rpmlint I've no doubt it will be illustrative and saddening to run my humble modules through. :) On Thursday, January 31, 2013 11:18:22 AM

Re: [Puppet Users] Re: Calling a subclass correctly in a node def?

2013-01-31 Thread Kodiak Firesmith
So I finished the module based on the style guide and have a working parameterized mysql-client/server module. Thanks everyone for the input that helped me get there. # = Class: mysql # # This class installs/configures/manages mysql # # == Parameters: # # mysql_role = mysqlServer #