Vreman, Peter - Acision wrote: > Please find a patch to replace the last SNIPPET::'s > > Peter > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:cobbler- >> [EMAIL PROTECTED] On Behalf Of Michael DeHaan >> Sent: woensdag 19 november 2008 16:51 >> To: cobbler mailing list >> Subject: Re: snippet tag >> >> Vreman, Peter - Acision wrote: >> >>> There is some inconsistency in the inclusion of snippets. There are 2 >>> >> styles used: >> >>> SNIPPET::network_config >>> $SNIPPET('network_config') >>> >>> What is the preferred way? And can all provided (example) files can be >>> >> made to use the same style. >> >>> Regards, >>> Peter >>> >>> >> SNIPPET::foo is the old way. >> >> Recently Dan Guernsey provided a nice patch that made SNIPPETS be >> implemented as Cheetah functions, so the new syntax is now valid. (Users >> can also define their own global Cheetah functions in >> /etc/cobbler/cheetah_macros) >> >> Both are fine, though we should probably standardize on $SNIPPET('foo') >> to reduce confusion. The old way will continue to work for backwards >> compatibility. >> >> >> >> >> >>> This e-mail and any attachment is for authorised use by the intended >>> >> recipient(s) only. It may contain proprietary material, confidential >> information and/or be subject to legal privilege. It should not be copied, >> disclosed to, retained or used by, any other party. If you are not an >> intended recipient then please promptly delete this e-mail and any >> attachment and all copies and inform the sender. Thank you. >> >>> _______________________________________________ >>> cobbler mailing list >>> [email protected] >>> https://fedorahosted.org/mailman/listinfo/cobbler >>> >>> >> _______________________________________________ >> cobbler mailing list >> [email protected] >> https://fedorahosted.org/mailman/listinfo/cobbler >> > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any attachment > and all copies and inform the sender. Thank you. > > > ------------------------------------------------------------------------ > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
Change made, this actually didn't apply as I just added your koan_environment snippet suggestion :) --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
