I have created 3 dirs under template dir inside my cookbook. all dirs contains templates (.erb). when I am using my template in recipe, I am giving source "file name".
template "file" do
source "file1.erb"
end
chef is looking for .erb file inside default and file1.erb is in one of dir. so it is saying no file1.erb in template/default.
below is structure:
template
default
dir1
dir2
dir3
I want that chef should search for templates recursively. Can somebody help me on this.