search for: kthen

Displaying 1 result from an estimated 1 matches for "kthen".

Did you mean: then
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
...st.erb* Line 1: Line 2 will exist if running on CentOS. <% if operatingsystem == "CentOS" ~%> Line 2: Yay, we''re running CentOS. <% end ~%> */tmp/puppet$ erb -x -T ''-'' test.erb | ruby -c* -:2: syntax error, unexpected ''~'', expecting kTHEN or '':'' or ''\n'' or '';'' ; if operatingsystem == "CentOS" ~; _erbout.concat "\n" ^ -:4: syntax error, unexpected kEND, expecting $end ; end ~; _erbout.concat "\n" ^ */tmp/pupp...