Hi folks.  I wrote a trigger to update dns using dynamic updates 
(forward and reverse maps) and automatically determine what the next 
usable IP address is in whatever subnet the system will be located in.  
It works great except I would rather it be an add->system->pre trigger 
then an add->system->post so I can fail the system add if all of my 
requirements aren't met.  I made it a post add trigger because I have to 
query a ksmeta value to determine what network the system lives on (ex. 
ksmeta vlan=uber_secure).  I would much rather query that value in a pre 
trigger but wasn't sure how to do it.  I'm a noob at python so 
appreciate the help if it's obvious.

The trigger is pure python and lives in the cobbler/modules directory.  
I can elaborate more if needed but just curious if I can query stuff 
like ksmeta before the system is actually added.  Thanks.


cobbler-2.0.3.1-3.el5

-- 
Scott McClanahan
W: 321-253-7892

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

Reply via email to