Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a generic package manager artifact type that uses the underlying OS' package manager #93

Open
aszs opened this issue Dec 2, 2021 · 0 comments

Comments

@aszs
Copy link
Member

aszs commented Dec 2, 2021

Add a generic package manager artifact type (ie. an artifact.OSPackage) to artifacts.yaml that uses the underlying OS' package manager to install a package. The artifact's implementation can detect its host's package manager if the operation_host is of type unfurl.nodes.Localhost, as it will then have a package_manager attribute.

To handle the case where the name of the package varies from package manager to package managed define optional properties that name the package for each supported package manager and prefer that name if defined over the default name (e.g. property names like apt, yum, brew)

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

No branches or pull requests

1 participant