@Jbob exactly what I was looking for thanks!
Posts made by ibloss
-
RE: Hooks
Looked a little more into postdownloadscripts, and I can send a network message to my server which makes for an okay hack at the moment for what I need to do, but if you have a solution for something that runs server side that would be desired.
-
RE: Hooks
No this is from the server, I was under the assumption that after the linux pxe image on the “client” was done running partclone that it would return some form of success, seeing that if the machine fails halfway through the task that when pxe booting again will try running the scheduled image task.
-
RE: Hooks
Thanks for the clarification Tom, any idea where I could drop an interpolated bash command anywhere after the imaging process?
need something like this
“puppet cert clean ${hostname}”
-
RE: Hooks
I forgot to specify that I’m currently running 1.2.0.
I’m looking at the HookManager class file and I don’t see ‘HOST_IMAGE_COMPLETE’ event.
Is it that your ImageComplete_PushBullet.event.php declares the event to be hooked?
Or is ‘HOST_IMAGE_COMPLETE’ defined only in 1.3 beta?
-
Hooks
Is there any event for when a host successfully images that I can write a hook for?