Skip to content

Read user details from /etc/expensify-user.conf - #11

Merged
nathanmetcalf merged 1 commit into
mainfrom
nmetcalf/expensify-user-conf
Dec 3, 2026
Merged

nathanmetcalf merged 1 commit into
mainfrom
nmetcalf/expensify-user-conf

Conversation

@nathanmetcalf

Copy link
Copy Markdown
Contributor

Details

Fleet replaces AuditBot, and the ToolKit ansible bootstrap now writes the user details to /etc/expensify-user.conf instead of /etc/auditbot.conf (https://github.com/Expensify/Expensify-ToolKit/pull/210).

get_user_details() now reads /etc/expensify-user.conf first, then falls back to /etc/auditbot.conf.

Merge this before the fleet-config PR that deletes /etc/auditbot.conf from laptops.

Fixed Issues

For https://github.com/Expensify/Expensify/issues/710544

Tests

  1. Run bash -n bootstrap.sh. Confirm no syntax errors.
  2. On a laptop with only /etc/auditbot.conf, run ./bootstrap.sh. Confirm it prints I found these existing details about you in /etc/auditbot.conf.
  3. Copy the file to /etc/expensify-user.conf and run ./bootstrap.sh again. Confirm it prints the /etc/expensify-user.conf path.
  4. On a laptop with neither file, run ./bootstrap.sh. Confirm it asks for your full name.

Falls back to /etc/auditbot.conf for laptops that don't have the new file yet.

Co-Authored-By: Claude <noreply@anthropic.com>
@nathanmetcalf nathanmetcalf reopened this Dec 3, 2026
@nathanmetcalf nathanmetcalf reopened this Dec 3, 2026
@nathanmetcalf
nathanmetcalf merged commit 40de09a into main Dec 3, 2026
10 of 11 checks passed
@nathanmetcalf
nathanmetcalf deleted the nmetcalf/expensify-user-conf branch December 3, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants