On Wednesday, August 21, 2013 at 8:58 PM, wrote:
I tried using chef.11.6.0-1.solaris2.5.10.i386.solaris on Solaris 10 today, butI found that when a template source file containing line feeds such as thefollowing:domain <%= @domain %>^Msearch <% @search_domains.each do |search_domain| -%><%= search_domain %> <%end -%>^M<% @nameservers.each do |nameserver| -%>^Mnameserver <%= nameserver %>^M<% end -%>^MThe rendered file also has the line feeds:domain xyz.com^Msearch xyz.com ^Mnameserver 10.nnn.nn.nn^MSuch garbage in the rendered files causes the resolver to fail.With 11.4, the rendered file is free of the line feeds and the resolver worksas expected.Has anyone noticed this issue with 11.6 in general and/or specifically onSolaris?Is there a workaround? Or perhaps this is a case of garbage in and garbageout? i.e. the behavior in 11.4 is masking the need for us to ensure that thetemplate files don't have this style of new line?
Archive powered by MHonArc 2.6.16.