Skip to content

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

Description

@aszs

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions