Scott Henson wrote:
> At Mon, 14 Dec 2009 11:27:55 +0100,
> Jonas Hagberg wrote:
>   
>> Scott Henson wrote:
>>     
>>> I'm not sure where to go from here.  According to the code paths, if you
>>> hit that URL, there should be log output saying that cobbler is going to
>>> run your install triggers.  What are the outputs of those pages?  I
>>> believe you should get a simple text file that says "True".  What do you
>>> actually see? 
>>>       
>> I see "True"
>>     
>>>  Also can you check your httpd access and error logs to
>>> make sure that the cobbler mod_python script is getting run and not
>>> erroring in some way?
>>>   
>>>       
>> No errors.
>> And No mail that the system is installed and so on. So something is not 
>> working..
>>     
>
> So if you see "True" in the output, you should see a log entry that
> run_install_triggers has been called.  The only possible problem I can
> see is if you have possibly turned down logging?  According to the
> code path, you can't possibly see "True" as the output of the http
> call without getting something in the log file.  I am at a loss to see
> how you can get one with out the other, sorry.
> --
> Scott Henson
> Red Hat CIS Operator
> WVU Alum BSAE/BSME
>   
Dear Scott.

I have not tested some hacks in the codebase of utils.py to do print.
I don't understand why my triggers don't run.

I have updated the bug. Could you please have a look at my comment?

https://fedorahosted.org/cobbler/ticket/530#comment:6

I have a questions on the page 
https://fedorahosted.org/cobbler/wiki/CobblerTriggers
It says that "old style triggers" should be in  
/var/lib/cobbler/triggers/ and so on. But the page suggest that it is 
slower than pure python. And that you should build a modular one. But it 
don't say where to put your modular trigger.

Are you supposed to put them in site-packages/cobbler/modules ?

Thank very much!
Cheers


> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   


-- 
-------------------------------------------
Systemexpert         [email protected]
Jonas Hagberg           tel  018 - 471 1026
UPPMAX                  fax: 018 - 51 19 25
Uppsala universitet     
Box 337, Lägerhyddsv 2E, Hus 4, room 4111
751 05 Uppsala             www.uppmax.uu.se
-------------------------------------------


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to