Uninstalling puppet enterprise

Just in case you run into errors while trying to reinstall. The uninstaller does not fully uninstall puppet.

If you run into this error you while trying to reinstall puppet you might want to try the solution below.

Problem:
rake aborted! 400 “Bad Request”

(See full trace by running task with —trace)

Solution:
First run the uninstaller

./puppet-enterprise-uninstaller -d -p

You must log in to MySQL and drop the 3 databases

drop database console_auth;

drop database console_inventory_service;

drop database console;

Then you should be able to reinstall puppet without any errors.