----- "Jeroen van Meeuwen" <[EMAIL PROTECTED]> wrote:

> Digant C Kasundra wrote:
> > There is a lot to digest here but a quick correction on:
> > 
> > # Red Hat / CentOS has puppet-0.24.4 and does not do the import
> magic. It could do the imports, but it requires import statements per
> file (not exactly making the module any more portable). 
> > 
> > I'm not sure what you mean by this as import magic is most certainly
> in place (we use it all the time and we actually don't use the word
> import anywhere).
> > 
> 
> Well, it's in the commentary of the actual module... And not as 
> significant to the proposal as the actual module itself...
> 
> Besides the wiki page can just describe the module as a one file
> source, 
> I find the automagic module imports work, but the subclasses and
> defined 
> types in modules (and/or it's subbclasses) are not automatically
> imported.
> 
> Jeroen van Meeuwen
> -kanarip

That's odd b/c that seems to work for me just fine.  Perhaps it is b/c of 
namespacing?  I.e. when I define a subclass of ssh called foo, I would actually 
declare it as ssh::foo.  If I include ssh::foo, puppet looks for foo.pp in the 
ssh/manifests and if it doesn't find that, it then looks in init.pp in 
ssh/manifests.  Perhaps I'm not understanding what you aren't able to get work.


-- 
Digant C Kasundra <[EMAIL PROTECTED]>
Technical Lead, ITS Unix Systems and Applications, Stanford University

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to