Skip to content

Plugin Support

cjestel edited this page Mar 30, 2017 · 2 revisions

General Info

If you want to change the behavior of any of the functions you can now load a plugin that overrides the function. Just copy your plugin folder to /usr/libexec/dbdeployer/plugins or the equivalent function_dir as defined in the installer.

Functions ultimately unset the prior function and will re-create it. Functions are loaded in the order they are specified, so if a function is overridden by another function, the last one loaded will always win.

What a plugin should contain

  • A readme.md that explains what your functions do and any variables that you have introduced
    • A list of functions that are being adjusted and why
  • You should unset the name of the function that you want to
  • You should create the function to replace the function you just unset.

Clone this wiki locally