While reorganizing our pre.* and post.* templates, we noticed that
nested includes do not have their variables evaluated.

For example, the template server.tmpl that contains 2 includes:
pre.compute and post.compute.  Each of these files may include other
files that have their variables successfully evaluated.  But when the
included files themselves contain another include to another file,
then the 2nd level nested file's variables are not evaluated (e.g.,
#XCATVAR#MASTER#, #TABLE#, etc).

server.tmpl
 > pre.compute (variables OK)
 > post.compute (variables OK)
    > include: networking.tmpl (variables OK)
    > include: users.tmpl (variables OK)
    > include: post.rh
       > include: post.rh.1 (variables not evaluated)
       > include: post.rh.2 (variables not evaluated)

Is this intended behavior or something that can easily be added in a
future version?

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to