On Thu, 2010-05-06 at 09:20 +0100, Tom Brown wrote:
> Hi
>
> We are looking at a migration from standalone cobbler and going to
> spacewalk. Currently spacewalk just requires 'cobbler' but on a fresh
> install you get 2.0.3 and i have actually upgraded this to 2.0.4 to
> see if the error is still there and it is.
>
> Basically a number of our snippets dont render out they are just left
> with $SNIPPET('name') in the rendered out ks and yet these work fine
> on 1.6.5 - Is there any difference in how cheetah renders stuff out in
> the versions?
>
> An example of a snippet that does not work is
>
> #set root_password = $getVar("role"," ")
> #if $root_password == "XXX"
> # Set the root pwd to be for XXX
> rootpw --iscrypted XXXXXXXXXXXXXXXXXXXXXX
> #elif $root_password == "XXX"
> # Set the root pwd to be for XXX
> rootpw --iscrypted XXXXXXXXXXXXXXXXXXXXXX
> #else
> # Set the XXX root pwd
> rootpw --iscrypted XXXXXXXXXXXXXXXXXXXXXX
> #end if
>
> now i can make this one work with #raw's however we have some rather
> more complicated ones that might be more tricky to fix like that.
>
> any clues on why they fail?
I have no problem when rendering this snippet.
Running cobbler-2.0.3.1-3 here.
Léon
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler