Pulse/scripts/installtests
rcourtman 2ff2b18c74 Wire legacy sensor-proxy cleanup into install.sh --uninstall (#34)
A Proxmox host upgraded from v5 may still carry the legacy pulse-sensor-proxy
footprint (binary, systemd units, runtime/state dirs, dedicated service user,
and managed SSH keys in root's authorized_keys). install.sh --uninstall removed
everything for the Pulse server itself but left that legacy footprint behind,
so a 'complete uninstall' was not complete -- most notably it left SSH key
entries in /root/.ssh/authorized_keys.

uninstall_pulse now calls cleanup_local_sensor_proxy, which removes the LOCAL
footprint only: stop/disable the units, remove the binary/units/runtime/state
dirs, strip the '# pulse-managed-key' / '# pulse-proxy-key' entries, and remove
the service user/group. It is presence-gated (silent no-op when no proxy was
installed). The aggressive cluster-wide authorized_keys removal and
pulse-monitor@pam API-user deletion stay behind the explicit standalone
scripts/uninstall-sensor-proxy.sh, which we print a pointer to.

Functional + contract tests in scripts/installtests/root_install_sh_test.go;
deployment-installability contract documents the new uninstall removal scope.
2026-06-09 15:25:08 +01:00
..
backfill_release_assets_test.go Add historical release asset backfill workflow 2026-04-22 17:25:58 +01:00
build_release_assets_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
docker_entrypoint_test.go Avoid tenant runtime image copy-up 2026-04-24 09:21:42 +01:00
install_docker_sh_test.go Prepare v6.0.0 stable release 2026-06-03 17:31:11 +01:00
install_ps1_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
install_sh_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
provider_msp_deploy_test.go Harden v6 upgrade release proofs 2026-06-03 17:07:25 +01:00
pulse_auto_update_test.go Guard stable updater from prerelease tags 2026-04-25 23:49:27 +01:00
release_ldflags_test.go Require signed unified agent release assets 2026-04-22 02:00:29 +01:00
root_install_sh_test.go Wire legacy sensor-proxy cleanup into install.sh --uninstall (#34) 2026-06-09 15:25:08 +01:00
uninstall_sensor_proxy_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00