| 1 |
Overlay configuration backend |
| 2 |
============================= |
| 3 |
|
| 4 |
This configuration backend permits one to store part of the configuration in |
| 5 |
local files. For example you can use this to store secrets outside LLNG |
| 6 |
configuration. |
| 7 |
|
| 8 |
lemonldap-ng.ini example: |
| 9 |
|
| 10 |
.. code-block:: ini |
| 11 |
|
| 12 |
[configuration] |
| 13 |
type = Overlay |
| 14 |
overlayRealtype = File |
| 15 |
overlayDirectory = /var/lib/lemonldap-ng/secrets |
| 16 |
|
| 17 |
# File parameters |
| 18 |
dirName = /var/lib/lemonldap-ng/conf |
| 19 |
|
| 20 |
Then store in the **overlayDirectory** a file for each parameter *(filename == keyname)* |
| 21 |
|
| 22 |
Parameters |
| 23 |
~~~~~~~~~~ |
| 24 |
|
| 25 |
* **overlayRealtype** *(required)*: the real configuration backend |
| 26 |
* **overlayDirectory** *(required)*: the directory where overriden parameters |
| 27 |
are stored |
| 28 |
* **overlayWrite** *(optional)*: set to 1 if you want that configuration |
| 29 |
changes are applied to overlay, else overlay parameters are read-only |