Actions
Bug #8177
closedBroken rudder-server-roles.conf prevent reporting in distributed setup
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Since rudder 3.2 we don't produce valid rudder-server-roles.conf files
For each role, we assign their key in the config file, not the value from the config file or the computed one
They all look like this:
# role:hostname1,hostname2,hostname3 rudder-ldap:rudder.server-roles.ldap rudder-inventory-endpoint:rudder.server-roles.inventory-endpoint rudder-db:rudder.server-roles.db rudder-relay-top:rudder.server-roles.relay-top rudder-web:rudder.server-roles.web rudder-relay-promises-only:rudder.server-roles.relay-promises-only rudder-cfengine-mission-portal:rudder.server-roles.cfengine-mission-portal
in AppConfig.scala we should replace:
RudderServerRole("rudder-ldap", "rudder.server-roles.ldap")
by:
RudderServerRole("rudder-ldap", config.getString("rudder.server-roles.ldap"))
Actions