On Aug 23, 9:21 am, jcbollinger <john.bollin...@stjude.org> wrote:

> The way to do this with exported resources is for each node to export
> a resource containing its own information only.  The trick is choosing
> the resource to use for this.
>
> The simplest case would be if "/etc/php.d/memcache.ini" supports some
> kind of 'include' directive, especially if it understands globs.  Then
> each server can export its own (distinctly-named) file intended for
> inclusion, and the node(s) that collect them need only to put the
> appropriate 'include' directive(s) into the main memcache.ini.
>

Yes, but I don't think I can do that in all my cases. This one ini
file is part of a collection of files that need to be updated and I
think all I need to do is to get all the right servers in one array
all the templates can use.

> Alternatively, there is a module available that provides for building
> files from fragments.  Your server could export fragment resources of
> the type defined by that module, and the node(s) that collect them
> would use them to build the memcache.ini file.
>

Which module would this be? I would like to read up on it and check it
out.


> John



Thanks, John.

puppetlurker

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