> --- [email protected] wrote:
>
> From: Tom Brown <[email protected]>
> To: cobbler mailing list <[email protected]>
> 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
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler