Dave Hatton wrote:
> Hi,
>
> Just a small suggestion.
>
> Could we decide on and stick to a consistent naming scheme for snippets?
>
> I would suggest
>
> <snippet name>_main
> <snippet name>_post
> <snippet name>_pre
>
> because snippets sort together when looking in the directory and you can
> tell from _main, _post or _pre where to run them from in the .ks.
>
> At the moment we have a real mix of names.
>
> What does the panel think?
>
> Dave
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
So far we start ones that are specifically pre_ and post_ with "pre_"
and "post_" so I wouldn't want to start doing suffixes.
While I agree with your idea, the upgrade would break folks, and I don't
want to do that. Suggestions how to handle that gracefully would be
welcome, but I don't know how
I would do it unless we taught the $SNIPPET('') function how to guess.
That seems problematic.
--Michael
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler