Thanks James, I understand they should have both failed, that's the issue I am trying to sort out. I don't believe any #raw statements are present but I'll take a look tomorrow. Once I handed it over, the guy ran with it and is a huge fan as am I. So  hardy thanks to all the contributors.

When I commented everything out of the snippet with a  "$" things worked as expected. But again, it should have failed on both levels. Very odd indeed. An errant #raw would make sense though so I'll pour though the previous snippets to make sure something else isn't out of whack.

Thanks again

-C




On Tue, Sep 24, 2013 at 7:50 PM, James Cammarata <jimi@sngx.net> wrote:
No, frankly both of them should have caused issues, the oddity is that the top-level one did not. Are you sure there weren't any #raw blocks in there?


On Tue, Sep 24, 2013 at 8:04 PM, Corey Kovacs <corey.kovacs@gmail.com> wrote:
I recently bestowed the virtues of cobbler unto a colleague who has, like many, decided it's the best thing since sliced bread. Good so far...

After he had been working with it for a while, he experienced a problem which was keeping his lower per_* snippets from overriding the top level counterparts.

For example, he has
snippets/post_install
and also
snippets/per_system/post_install/mysystem01.

In both files he had (unbeknownst before the override) unescaped "$" chars. When the per_system post_install snippet was not applied, everything rendered correctly. However when a specific host was specified in order to get the overriding snippet, the rendering failed.

So, to recap, two copies of the same messed up snippet were in place. The top level one rendered correctly, the per_system one did not as cheetah choked on the unescaped "$" signs.

Is this a know bug/feature?

Corey

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler



_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler