rudder.server-roles.db=autodetect
by rudder.server-roles.db=<hostname of the server with the db>
@ncharles perhaps the problem is here:
bundle edit_line root_password_check_file_pgpass(parameter)
{
vars:
"indices" slist => getindices(${parameter});
field_edits:
"localhost:5432:rudder:.*"
# Set field of the file to parameter
edit_field => col(":","${indices}","${${parameter}[${indices}]}","set");
insert_lines:
"localhost:5432:rudder:${${parameter}[4]}:${${parameter}[5]}";
}
localhost is always add.
"role_rudder_server_root" expression => or(fileexists("${rudder_base}/etc/server-roles.d/rudder-server-root"), strcmp("${g.uuid}", "root"));