Hi,

I wanted to create something like that:

#try
  #include '/stuff/$name'
#except
do something else
#end try

safe_templating is set to false.

The reason is that I want to try to include a file with some informations and if it does not exist, it should to a default action

The rendered ks looks as follows:
# Unable to read /tmp/test123

The except part is never reached, even syntactical incorrect cobbler stuff is ignored.

Any hints what went wrong?