Store distribution type for pmm-agent

Description

Depending on how pmm-agent has been installed, store the type of distribution in a place accessible by the agent and pmm-admin cli.

Examples of the type of distribution: docker, package manager, tarball, etc.

Technical solution

Distribution type shall be stored in "pmm-distribution" in the root folder of pmm-agent.
This will be consistent with managed's approach.

How to test

None

How to document

None

Smart Checklist

Activity

Show:

Michal October 12, 2022 at 12:33 PM

If possible, we can use "deb" or "rpm".

If not, generic "package-manager" is sufficient. We can detect the type of OS in the cli.

Alex Demidoff October 12, 2022 at 12:31 PM

It's more or less clear for the docker and tarball. What about the package manager? Do we need to know which exactly, or a generic 'Package Manager` will suffice?

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Smart Checklist

Created October 10, 2022 at 11:48 AM
Updated March 6, 2024 at 12:33 AM

Flag notifications