Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   Cobbler - add post install trigger (http://www.linux-archive.org/fedora-linux-management-tools/8350-cobbler-add-post-install-trigger.html)

"Tim Verhoeven" 11-29-2007 02:28 PM

Cobbler - add post install trigger
 
Hi,

Attached patch creates a extra trigger (install/post) that is triggers
by a cgi script (like nopxe.cgi) at the end of a installation. I've
think I've covered all bases here but let me know if I missed
something.

Regards,
Tim

--
Tim Verhoeven - tim.verhoeven.be@gmail.com - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Michael DeHaan 11-29-2007 05:03 PM

Cobbler - add post install trigger
 
Tim Verhoeven wrote:

Hi,

Attached patch creates a extra trigger (install/post) that is triggers
by a cgi script (like nopxe.cgi) at the end of a installation. I've
think I've covered all bases here but let me know if I missed
something.

Regards,
Tim


------------------------------------------------------------------------


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Looks solid.


Testing shortly and I'll apply it.

Some Wiki content on the triggers page would be great if you'd like to
add it.


I've been thinking about whether it's useful to make everything doable
now from triggers (which can be done in any language) also doable in
modules.
Any interest? This would likely be a bit on the back burner behind
some other module-oriented stuff (auth, logging, looking at SQL again, etc).


(Modules would slightly easier because they can pass Python objects
around, and are also faster if you have a boatload of systems...)


--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

"Tim Verhoeven" 11-29-2007 07:38 PM

Cobbler - add post install trigger
 
On Nov 29, 2007 7:03 PM, Michael DeHaan <mdehaan@redhat.com> wrote:
>
> Some Wiki content on the triggers page would be great if you'd like to
> add it.

No problem, I'll add something tomorrow.

> I've been thinking about whether it's useful to make everything doable
> now from triggers (which can be done in any language) also doable in
> modules.
> Any interest? This would likely be a bit on the back burner behind
> some other module-oriented stuff (auth, logging, looking at SQL again, etc).
>
> (Modules would slightly easier because they can pass Python objects
> around, and are also faster if you have a boatload of systems...)

It sounds like something usefull. Not for me immediately. I'm more
into writing shell scripts first and move to something else if shells
script don't cut it anymore. So for the iSCSI thing I'll probably
write a something in python (since I need the API to create the Xen
config files).

Also generaly speaking at the moment I most likely need/use the sync
and install triggers. I don't see a immediate use for the add/remove
triggers for the different objects in Cobbler.

Thanks for all your help,
Tim

--
Tim Verhoeven - tim.verhoeven.be@gmail.com - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 11:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.