Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Improve apt packaging to better handle directories the agent needs and allow clean uninstall and reinstall #333

Open
4 tasks
soenkeliebau opened this issue Oct 12, 2021 · 0 comments

Comments

@soenkeliebau
Copy link
Member

soenkeliebau commented Oct 12, 2021

The improvements that were made to the rpm package in #329 need to be checked in and ported to the apt packaging mechanism if necessary.

Specifically this means:

  • The package should be installable without an error when /etc/stackable/stackable-agent/secret exists and contains keys
  • The package should remove /opt/stackable/stackable-agent as well as the binary file in there when it is uninstalled
  • The package should fully remove /etc/stackable/stackable-agent if only the default config file exists in that directory when it is uninstalled
  • The package should correctly declare /etc/stackable/stackable-agent/agent.conf as a config file so that config file update mechanisms handle changes to that file in the proper way
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant