I'm new in chef and cookbook. I'm creating a cookbook, and I want to append at the end of file some contents (text). At the moment, I'm using:
file "#{node['dir']}/#{params[:name]}.txt" do
content "my full text"
end
but I must always append in the "content" the old content because it will overwrite. Is there another way to append contents?
Thank you pasquy