Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

[OBS-407]Linux agent: Handle reconfiguration #244

Merged
merged 7 commits into from
Oct 25, 2023

Conversation

gmann42
Copy link
Contributor

@gmann42 gmann42 commented Oct 20, 2023

What

  • Handle the case when linux setup command is run again on a system on which it was previously used.
  • There can be three possibilities
    • systemd service exists and is enabled: Ask user if old values should be over-written with current input
    • systemd service exists and is disabled: Ask user if old values should be over-written with current input and enable the service
    • systemd service doesn't exist: Proceed with normal flow

Ticket: https://postmanlabs.atlassian.net/browse/OBS-407

@gmann42 gmann42 requested a review from mgritter October 20, 2023 12:34
Copy link
Contributor

@mgritter mgritter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take another pass over the errors shown to the user and make sure they clearly explain what we were trying to do, and what the user should do next (even if it's only contact us.)

@gmann42 gmann42 merged commit 3db5466 into main Oct 25, 2023
@gmann42 gmann42 deleted the OBS-407/linux-agent-reconfiguration branch October 25, 2023 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants