Daniel Pittman wrote:
> 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?


Yes. Please checkout my munin module on github[1] or my private 
repos[2]. They already bring everything you need in a convenient package 
together with defines to handle plugins locally and remotely.


Regards, DavidS



[1] http://github.com/DavidS/puppet-munin/tree/development
[2] http://git.black.co.at/?p=module-munin

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