Skip to content

Pass arbitrary parameters to native package managers #79

@fetzerms

Description

@fetzerms

Use case

We currently want to update our systems automatically using this patching module. In our special environment, we need to make sure that some repositories are ignored and others are enabled during the patching process.

Feature Request
As this differs very much across systems and their package managers, it would be great if arbitrary parameters could be passed to the system commands. Maybe this would also somehow solve #64 as the user could supply arguments that are specific for his environment.

Example:

run_plan('patching', $targets, {
    monitoring_enabled => false,
    snapshot_create => false,
    snapshot_delete => false,
    report_file => undef,
    available_updates_extra_args => '--enable-repo=*',
    update_extra_args => '--enable-repo=*'
  })

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