On Fri, May 1, 2009 at 12:11 PM, Mike Renfro <ren...@tntech.edu> wrote:

>> Also, should I bundle the facts into one document, say by platform, or
>> should each fact be in its own file?
>
> All my facts are stored in separate files, but that's mostly because my
> fact development tends to be pretty tightly-focused. Never needed to
> group them together. But I'd never separate them by platform, but just
> put the platform logic into the fact similar to what the InterfaceName
> recipe does.

In the 0.24.x series, we find file serving is a large part of the
load, and reducing the number of separate fact files reduced load.

If you're not experiencing load issues, there's no reason why you have
to bundle them together unless you're sharing code amongst facts.

-- 
Nigel Kersten
nig...@google.com
System Administrator
Google, Inc.

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

Reply via email to