On Thu, 13 Jan 2011 02:41:31 -0800 (PST) luke.bigum luke.bigum wrote: > Hi Arnau, Hi Luke, > Your module folder name is called 'common_puppet' but you're class is > called 'common_puppet_conf'.
Ohhhh!! did not read about this requisite. > Option 1, rename the common_puppet class to common_puppet_conf, as > according to your grep, the only class inside common_puppet/init.pp is > "class common_puppet_conf". The class definition in init.pp of a > module should match the name of the module itself so the auto loader > can find it. > Option 2, move the class declaration of common_puppet_conf out of > init.pp and into common_puppet_conf.pp in the same directory, then you > should be able to do this (note the use of the namespace > common_puppet, which is your module name): > > include common_puppet::common_puppet_conf > > You can then have a common_puppet class, which you can have install > Puppet software and start Puppet services. Depends on how you want to > organise your modules. I'll choose first option as it's clearer to me . > HTH, > > -Luke Many thanks for your reply, Luke. Cheers, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.