Daniel Pittman <dan...@rimspace.net> writes:

> I am wondering what the current best practice for building a single file out
> of distributed fragments is with puppet.

[...]

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

Another option that my research has turned up, which is fractionally less
ugly, is to collect these files on puppetmaster, then use template() or the
content of the template to collect them while building the manifest.

That marginally reduces the ugliness: the munin.conf file is built on the
puppetmaster, from the fragments, but it still isn't really nice.

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