Thanks for all the pointers!

Currently I build all the files with a derivation of the
Apt_Repository recipe (http://reductivelabs.com/trac/puppet/wiki/
Recipes/Apt_Repositories).  So I would need to write these files to a
temp dir on the client and run concat on them.

Is there a way to concatenate a set of apt_repository rule outputs
into one data set that I can write to a file and skip the temporary
files?


One of the reasons I want a single sources.list is that a live upgrade
wants to re-write this file.  I also currently have the problem if
that I change the manifest to remove a repository, the old files do
not get removed.

On Jun 23, 7:29 am, David Schmitt <da...@dasz.at> wrote:
> Scott Smith wrote:
> > jchonig wrote:
> >> I think I could do what I wanted by building a bunch of files into a
> >> temp directory and then cattting them to /etc/apt/sources.list.  But
> >> I'm wondring if there is an easier way.
>
> > David Schmitt wrote a recipe for this, check out his `common' module
> > (hint: look for concatenated_file)
>
> http://git.black.co.at/?p=module-common;a=blob;f=manifests/defines/co...
>
> Regards, DavidS
--~--~---------~--~----~------------~-------~--~----~
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