> Any suggestions ?
>
> Max Krasnyansky wrote:
> > Folks,
> >
> > I'm looking for suggestions on how to debug snippet code. I got a
> > snippet here that fails for some systems but works for others.
> > When I say fails I mean that it does not get expanded, I just
> > git this
> > $SNIPPET('my_snippet')
> > in the final kickstart.
> >
> > The interesting thing is that this snippet starts failing after the
> > system is edited with the web UI. I diffed .json files before and
> after
> > and I do not see anything obvious in there (I mean there are
> differences
> > but they seem fairly minor). There are no errors in the logs.
> >
> > So is there any way to enable verbose mode in cheetah or something to
> > see why the snippet is not getting expanded ?
I'll start with the obvious here:
- Are you not seeing the snippet expanded when you via the Kickstart in the
WebUI?
- What happens when you re-edit the Kickstart or the snippet via the console
and save it that way, does the issue still appear?
- Now this is just cover your butt kinda thing, but does the snippet start on
column 0 in the Kickstart? You have it tabbed in the email, not sure if that's
an issue but I try every little step when troubleshooting ;-)
- What happens when you replace that specific snippet line with a line for a
known working snippet?
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler