Hi

> /var/puppet/environments/production/modules/lanl-baseline/manifests/ 
> classes/darwin.pp
> class darwin {
>          include puppet
>          include stom
>          include getDefsDate
>       include swInventory
>       include sav
> }
> 
> each of the classes included in darwin.pp have corresponding ".pp"  
> class files in same "classes" dir.
> 
> So after two or three client runs I no longer get the error about lanl- 
> baseline and the catalog is built and run.
> 
> Do I need to change my dir structure:
> 
> puppet-dev:production root# pwd
> /var/puppet/environments/production
> puppet-dev:production root# tree .
>     |-manifests
>     |-modules
>     |---lanl-baseline
>     |-----files
>     |-----manifests
>     |-------classes
>     |-------definitions
>     |-templates
> 

not that I'm sure this is related to your problem. Try to get rid off
import statements and organise your .pp according to their names, so
puppet find them via autoloading. I don't see any reason to distinguish
between classes and definitions and put them into different folders.

Means if you have a class lanl-baseline::foobar it comes into

lanl-baseline/manifests/foobar.pp

cheers pete

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