Skip to content

Fix: support for dpkg ubuntu#833

Open
cgetzen wants to merge 4 commits into
aws:mainfrom
meshy-dev:fix/support-for-dpkg-ubuntu
Open

Fix: support for dpkg ubuntu#833
cgetzen wants to merge 4 commits into
aws:mainfrom
meshy-dev:fix/support-for-dpkg-ubuntu

Conversation

@cgetzen
Copy link
Copy Markdown

@cgetzen cgetzen commented Mar 13, 2026

Issue #, if available: #798

Description of changes:

Fixes nodeadm init on Ubuntu when amazon-ssm-agent is installed via deb/dpkg instead of snap.

  • Detect whether the SSM agent is actually installed from snap before choosing the daemon name, proxy config path, and package manager commands.
  • Fall back to the standard amazon-ssm-agent service and non-snap package handling for Ubuntu systems using deb-based installs.
  • Add unit coverage for Ubuntu daemon-name resolution so both snap-installed and deb-installed SSM paths are exercised.

Testing (if applicable):

  • TestResolveDaemonName has been added
  • Manual testing has been performed

Documentation added/planned (if applicable):

None planned, since this is a bug fix.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.

1 participant