Uninstalling modules
Completely remove installed modules with the puppet module uninstall
command.
This command uninstalls modules from the modulepath specified in the
puppet.conf
file. To
remove a module, run the uninstall command with the full name of the module. For
example:
puppet module uninstall puppetlabs-apache
By default, the command exits and returns an error if you try to uninstall a module that other modules depend on or if the module's files have been modified after it was installed. You can forcibly uninstall dependencies or changed modules with command line options.
For example, to uninstall a module that other modules depend on, run:
puppet module uninstall --forceSee the
puppet module
command reference for a complete list of options.