Actually, there is an undocumented feature that looks like it might
work for this. You can put regular expressions matching files you wish
to be ignored in a file named “ignore” at the root of your cookbook. I
haven’t tried it, but if you put something like
in that file, it should ignore your .svn directories. Unfortunately, I
think you have to do this on a per-cookbook basis.
Let us know if it works out.
On Tue, Jul 27, 2010 at 4:53 PM, Adam Jacob email@example.com wrote:
This looks like it would require a patch - feel free to file a ticket.
On Mon, Jul 26, 2010 at 2:20 AM, Vladimir Girnet
I’m using Chef 0.9.6 on CentOS 5.5 with Subversion 1.6.12
Chef installed from ELFF/EPEL repositories.
I’m hosting my Chef repository on a Subversion server.
I’ve found that during a “rake install” task, files from
"cookbooks/<my_cookbook>/templates/.svn directory get published on Chef server.
How to avoid this? Is it possible to specify a filter or exclude option
Adam Jacob, CTO
T: (206) 508-7449 E: firstname.lastname@example.org