--- tom@ng23.net wrote:
From: Tom Brown tom@ng23.net To: cobbler mailing list cobbler@lists.fedorahosted.org Subject: Re: snippet including a snippet Date: Thu, 02 Apr 2009 12:32:25 +0100
Is it allowed that a snippet include a snippet? So if some logic triggers something thats true then include this snippet if not then dont ?
yes you can
#elif $mytype == "database" #include '/var/lib/cobbler/snippets/add_dba_users' #end if
etc etc
You may want to use
#elif $mytype == "database" $SNIPPET('add_dba_users') #end if
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org