G'day.

I am wondering what the current best practice for building a single file out
of distributed fragments is with puppet.  Specifically, my problem:

1. Install munin-node on arbitrary machines.
2. Install 'munin.conf' as a single file on one machine, containing a
   configuration stanza for every machine that munin-node is installed on.

The current best practice looks to be:

1. In the munin-node manifest, create an exported 'file' containing the
   configuration for that machine.  (storeconfig enabled, obviously.)

2. On the munin central host, collect the exported file objects, creating them
   on disk in a random directory.

3. On the munin central host use some solution like "concatenated_file" to run
   a shell command, post-hoc, to build the munin.conf file from those
   fragments stored on disk.


Is this really still the best method for achieving this?

Is it possible for me to access the storeconfig database from a puppet
template running on the puppetmaster?

Regards,
        Daniel
-- 
✣ Daniel Pittman            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

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