On Wed, 2011-02-23 at 10:05 +0000, Christian Horn wrote:
> Hi all,
> 
> 
> current RHEL6 x86_64 with a cobbler 2.0.10 from epel,
> has someone successfully used cobbler including templates using 
> snippets on that?
> 
> As soon as i try to include snippets in the template i get this,
> without good ideas for debugging:
> 
> ----------------
> # *** ERROR ***
> #
> # There is a templating error preventing this file from rendering correctly. 
> #
> # This is most likely not due to a bug in Cobbler and is something you can 
> fix.
> #
> # Look at the message below to see what things are causing problems.  
> #
> # (1) Does the template file reference a $variable that is not defined?
> # (2) is there a formatting error in a Cheetah directive?
> # (3) Should dollar signs ($) be escaped that are not being escaped?
> #
> # Try fixing the problem and then investigate to see if this message goes
> # away or changes.
> #
> # 
> # SNIPPET() takes exactly 2 arguments (3 given)
> #   File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 141, in 
> render
> #     data_out = t.respond()
> # 
> #   File "cheetah_DynamicallyCompiledCheetahTemplate_1298452891_24_21286.py", 
> line 144, in respond
> # 
> #   File "cheetah_DynamicallyCompiledCheetahTemplate_1298452891_24_21286.py", 
> line 81, in __errorCatcher3
> # 
> #   File "<string>", line 1, in <module>
> # 
> ----------------
> 
> - someone having seen this?

Yes i have, although on my F14 host. IIRC it's fixed in 2.0.10 though,
so that's odd ..

You could try this quick workaround:

https://fedorahosted.org/pipermail/cobbler/2010-October/005940.html


regards,

Léon

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to