Eric Raymond wrote: > I have been trying to find the right way to store a dictionary for > ksmeta variable in Cobbler. I am not a Python guru, and I may be > going about this the wrong way, and thats why I am posting the > question here. :-)
You may want to read "Advanced Snippets" under the Snippet article on the Wiki if you need snippets to do different things on different profiles. Perhaps I misunderstand the base concern, but it's best to address things functionally -- what's the user problem you want to solve, rather than mixing programming concepts in with it straight up and asking how to do that. There is likely an easier way than trying to do what you want to do -- anyway, --ksmeta templating variables are meant to be strings, not data structures. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
