James Cammarata wrote:
> On Wed, 15 Oct 2008 16:23:55 -0400, Michael DeHaan <[EMAIL PROTECTED]>
> wrote:
>
>> Charles Duffy wrote:
>>
>>> Michael DeHaan wrote:
>>>
>>>
>>>> $SNIPPET('download_config_files')
>>>>
>>>>
>>> Doesn't work for me. Evaluates to this:
>>>
>>> wget
>>>
>>>
> "http://169.254.0.1/cblr/svc/op/template/profile/CentOS-5.1-x86_64/path/racadm.ini"
>
>>> --output-document="racadm.ini"
>>>
>>> ...but doesn't work on retrieval:
>>>
>>> $ curl
>>>
>>>
> http://169.254.0.1/cblr/svc/op/template/profile/CentOS-5.1-x86_64/path/racadm.ini
>
>>> # template path not found for specified profile (options:
>>> ['/var/www/cobbler/rendered/racadm.ini'])
>>>
>>>
>> I'll check on this....
>>
>
>
> I believe that cobbler wants the template destination to be a full path.
> Whether or not that is a bug is up to Michael to determine :)
>
>
Nope, it's a feature. We were talking about this on IRC yesterday and I
finished it up yesterday evening.
Now it only downloads them if the destination is a fullpath (in koan or
the %post snippet).
If not, it can be used for templating without auto-downloading the files.
Let me know if anyone thinks there are any other issues/features/ideas
with this.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler