Bug 751237

Summary: Allow purge to run ant task in recipe to do custom actions
Product: [Other] RHQ Project Reporter: Nabeel Saad <nsaad>
Component: ProvisioningAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 3.0.0 Beta1CC: gcooper, hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Nabeel Saad 2011-11-03 20:46:10 EDT
Description of problem:
It would be great (as a feature request), to allow the purge button to also access the recipe.xml and to do the typical purge action of deleting everything, but to also have a pre/post purge ant target that it can run.

For example, if my bundle has a JBoss server, I would want to shutdown the server in the pre-purge (via my recipe), then have the purge just delete all the files.. and finally maybe remove a symbolic link in the post-purge.

This would allow for a lot cleaner systems along with a lot more flexibility and hopefully without too much hassle given that the deploy already has this built in.

Version-Release number of selected component (if applicable):
3.0 GA -- I can help test if it goes into beta

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info: