Project

General

Profile

« Previous | Next » 

Revision b75d8956

Added by Alexis Mousset about 7 years ago

Fixes #10555: Plugin installation doc is not up-to-date for rpkg package

View differences:

3_basic_administration/30_plugins.txt
section sum-up information about loaded plugins, their version and their
configuration.
A plugin is a JAR archive. The web application must be restarted after
installation of a plugin.
A plugin is an `.rpkg` file (for "Rudder package").
==== Install a plugin
To install a plugin, copy the JAR file and the configuration file in the
according directories.
To install a plugin, copy the `.rpkg` file on your server, and run:
+/opt/rudder/share/rudder-plugins/+::
This directory contains the JAR files of the plugins.
----
rudder-pkg install-file <package.rpkg>
----
+/opt/rudder/etc/plugins/+::
You can list currently installed plugins using:
This directory contains the configuration files of the plugins.
----
rudder-pkg list
----
Then, register the plugin, using its name without the ".jar" extension and
restart Rudder:
You can also enable or disable, or remove a plugin with:
----
# register plugin
/opt/rudder/bin/rudder-plugin register plugin-name-without-jar-extension
# restart Rudder
/etc/init.d/rudder-jetty restart
rudder-pkg plugin enable <plugin>
rudder-pkg plugin disable <plugin>
rudder-pkg remove <package>
----
See all available commands with:
----
rudder-pkg --help
----

Also available in: Unified diff