fix link
[mirror/dsa-wiki.git] / input / howto / decomission.mdwn
index 693a43a..4598dde 100644 (file)
@@ -8,7 +8,7 @@
 
  * Revoke puppet certificate
 
-   * on handel: puppetca clean $HOST
+   * on handel: puppet node clean $HOST
    * reinit samhain on handel
 
  * Remove from LDAP
@@ -18,6 +18,8 @@
  * Remove any references from puppet configuration
  * Remove references to the host from DNS files, including reverse DNS
  * Get rid of the HW (tell the hoster to get rid of it or other as appropriate)
+ * Remove MQ queues related to machine (see [[doc/mq]] for details)
+    for queue in $(rabbitmqadmin -N rainier list queues name | grep unger.debian.org | awk '{print $2}') ; do rabbitmqadmin -N rainier -V dsa delete queue name=$queue; done
 
 Three months after decomissioning: