I ran into an issue reported in
https://partner-bugzilla.redhat.com/show_bug.cgi?id=523624
The bug is reported against satellite and is somehow fixed there, but
the problems seems to come from cobbler.
If snippet or ks file is saved using cobbler WebUI, it becomes broken -
in order to use it, one need to run dos2unix utility on it.
I see it on cobbler versions 2.0.2 and master git.
--
Leon