I want to upload 500MB size file directly to cookbook for some config problems. I only able to upload 250MB size file into cookbook. I've increased the value of nginx['client_max_body_size']
and opscode_solr4['max_field_length']
.Eventhough it doesn't work for me to upload 500mb size file.
Can anyone give me some solution for it?
Don't. This is not what Chef is for and our storage and file sync layers are not efficient enough to do it well. Put the file on a web server somewhere and use a remote_file
resource instead of a cookbook_file
.