User story #8873
Updated by François ARMAND about 8 years ago
Currently, the database name and the user name (rudder and rudder) are set in rudder-web.properties and rsyslog.d/rudder.conf. The rsyslog file is templated and the name and user are hardcoded in the source template, which makes it impossible to use different values.
This is a stopblocker when one wants to run several Rudder instance on the same database server, for example for dev and test.
A possible workaround is to edit /var/rudder/configuration-repository/techniques/system/distributePolicy/1.0/rudder-rsyslog-root.st on the root server and set the right values. This will be overwritten during each update though.
We will add two system variables: RUDDER_REPORTS_DB_NAME and RUDDER_REPORTS_DB_USER