From: Peter Palfrader Date: Sun, 15 Feb 2015 10:03:41 +0000 (+0100) Subject: mention puppet cleanup X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=7d7419e4bfc73f41b121353f63ad6dd5c51d59a8 mention puppet cleanup --- diff --git a/input/howto/decomission.mdwn b/input/howto/decomission.mdwn index 204d2b5..b89ef6e 100644 --- a/input/howto/decomission.mdwn +++ b/input/howto/decomission.mdwn @@ -9,6 +9,12 @@ * Revoke puppet certificate * on handel: puppet node clean $HOST + * also, clean up any entries in puppet's database (see /etc/puppet/puppet.conf for password): + + mysql -p -u puppet puppet + select * from resources where title like '%XXXX.debian.org%'; + followed by: delete from resources where title like '%XXXX.debian.org%'; + * reinit samhain on handel * Remove from LDAP