From d87e18143904c6d918a50f68e4a44b51622d02f4 Mon Sep 17 00:00:00 2001
From: Luca Bigliardi <shammash@google.com>
Date: Tue, 25 Aug 2009 16:50:38 +0100
Subject: [PATCH] Document cluster destroy hook

Add documentation about new cluster-destroy-post hook.

Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 doc/hooks.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/hooks.rst b/doc/hooks.rst
index 0224c8b98..50e3a979e 100644
--- a/doc/hooks.rst
+++ b/doc/hooks.rst
@@ -316,6 +316,17 @@ This hook is called via a special "empty" LU right after cluster initialization.
 :pre-execution: none
 :post-execution: master node
 
+OP_DESTROY_CLUSTER
+++++++++++++++++++
+
+The post phase of this hook is called during the execution of destroy operation
+and not after its completion.
+
+:directory: cluster-destroy
+:env. vars: none
+:pre-execution: none
+:post-execution: master node
+
 OP_CLUSTER_VERIFY
 +++++++++++++++++
 
-- 
GitLab