# HG changeset patch # User Kim Alvefur # Date 1449155839 -3600 # Node ID 50e2277ea05fdd48cc63daf5e0e0d16dc561eef5 # Parent aa8647a5105d2a9f371538f7b622af3f86f6e6e4 prosodyctl check: Point out that authentication and storage modules should not be added to modules_enabled (fixes #570) diff -r aa8647a5105d -r 50e2277ea05f prosodyctl --- a/prosodyctl Thu Dec 03 16:15:59 2015 +0100 +++ b/prosodyctl Thu Dec 03 16:17:19 2015 +0100 @@ -924,6 +924,20 @@ print(""); print(" Modules in modules_enabled should not have the 'mod_' prefix included."); print(" Change '"..mod.."' to '"..mod:match("^mod_(.*)").."'."); + elseif mod:match("^auth_") then + print(""); + print(" Authentication modules should not be added to modules_enabled,"); + print(" but be specified in the 'authentication' option."); + print(" Remove '"..mod.."' from modules_enabled and instead add"); + print(" authentication = '"..mod:match("^auth_(.*)").."'"); + print(" For more information see https://prosody.im/doc/authentication"); + elseif mod:match("^storage_") then + print(""); + print(" storage modules should not be added to modules_enabled,"); + print(" but be specified in the 'storage' option."); + print(" Remove '"..mod.."' from modules_enabled and instead add"); + print(" storage = '"..mod:match("^storage_(.*)").."'"); + print(" For more information see https://prosody.im/doc/storage"); end end local ssl = dependencies.softreq"ssl";