I think this basically does what you want:
http://reductivelabs.com/trac/puppet/wiki/Recipes/BuildingMultipartFiles

You would use file numbering for ordering and a sort | cat combination in
the exec to get an ordered file if you need one.

Trevor

On Fri, Jun 19, 2009 at 22:36, jchonig <jcho...@gmail.com> wrote:

>
> I'm building apt source files in /etc/apt/sources.list.d on Ubuntu
> based on a recipe on the puppet site.  This does have a few problems
> though.  Some apps expect /etc/apt/sources.list to exist and get upset
> if it doesn't.
>
> I'd rather combine the individual files into one file that replaces /
> etc/apt/sources.list.  Is there an easy way to do that?
>
> Thanks.
>
> Jeff
>
> >
>

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