On Mar 31, 2009, at 1:30 PM, Larry Ludwig wrote: > > > On Mar 31, 2009, at 12:26 PM, Luke Kanies wrote: >> I think you've convinced that a given module should search all of the >> module path directories, rather than just the first found directory. >> This would allow you to have your site module dir in front of the >> dist >> module dir and override templates or files just by putting them in >> the >> earlier path. > > Explain how this would work in detail? This does not work currently > in Puppet does it?
Currently Puppet searches through your module path for a name, and the first directory that has a subdirectory with that name is considered to be the entire module; any other modules with the same name in later directories will get ignored by Puppet. This ignoring is why you can't override actual files. My proposed change would have Puppet no longer ignore those later modules - you could have your dist modules in a later search path, your site module in an early search path, and Puppet would prefer files from the module earlier in the path. That work? -- I happen to feel that the degree of a person's intelligence is directly reflected by the number of conflicting attitudes she can bring to bear on the same topic. -- Lisa Alther --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---