Project

General

Profile

Actions

Enhancement #21975

open

Provide config file samples in rudder-web.properties.d

Added by François ARMAND about 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
N/A
Assignee:
-
Target version:
UX impact:
I hate Rudder for that
Suggestion strength:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Small
Name check:
To do
Fix check:
To do
Regression:
No

Description

Now that we have rudder-web.properties.d, we want to provide a sample configuration file:
- for LDAP
- for OAUTH2

And install them in /opt/rudder/etc/rudder-web.properties.d so that an user can just edit them to start using the backend.

The hardest part is the documentation generation that need to include these files where they used to be in the README.adoc.

Identified tasks:
- choose a directory for the sample files. Ideas:
- src/main/resources/config-files - quite logical, but we don't want them packaged in the jar, so it will need an exclusion in maven pom
- packaging/config-files - or somewhere in packaging so that it works for it immediately
- docs/config-files if we prefer enforce the "sample file as documentation" path.
- others ?

- create authentication-backend-ldap.properties.sample and authentication-backend-oidc.properties.sample in chosen directory from the existing info in README.adoc
- update packaging to package files in the plugin archive and packaging/postinst to copy them into /opt/rudder/rudder-web.properties.d
- update documentation generation to include sample files where they used to belong.

Actions

Also available in: Atom PDF