Feature #1353
closed
Foreman should be able to handle pre and post hook action.
Added by Romain Vrignaud over 12 years ago.
Updated over 11 years ago.
Category:
Plugin integration
|
Description
It would be awesome to be able to schedule pre and post hook before specific action.
This is one of my use case I'd like to be able to achieve with Foreman :
If I click on "Build an host", I'd like to be able to program an hook to make wget on a webservice I wrote to schedule a Nagios Downtime during the server rebuild"
I'm sure we could find a lot of different use cases.
Thx in advance
Seconded - for unattended ArchLinux installs, it is (currently, this may change) necessary to start a Network Block Device (NBD) serving the Arch Install ISO to the PXE booted client. This would replace the manual step of starting and stopping the NBD device.
This could also be used for users to provide arbitrary scripts, such as downloading vmliuz/initrd/iso files for PXE to use, and so on.
Ohad, is this similar to what Foreman does when downloading the initrd/vmlinuz files for existing supported distributions?
Greg Sutcliffe wrote:
Ohad, is this similar to what Foreman does when downloading the initrd/vmlinuz files for existing supported distributions?
not at all, Foreman simply tell the proxy where to fetch the boot file from, then the proxy is fetching and putting it in the right place.
I'm guessing we can add observer actions to most stuff
+1
My use case:
I want to remove node from Pulp server before I rebuild it.
- Category set to Plugin integration
- Assignee set to Joseph Magen
- Target version set to 1.1
- Status changed from New to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF