Hi

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

this is a working solution.

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

writing a custom provider with parsedfile might be solution. have a look
for example at the existing host provider.

another solution might be to use augeas [1] for it.

cheers pete

[1] http://reductivelabs.com/trac/puppet/wiki/TypeReference#augeas

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