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

Pass arbitrary parameters to native package managers #79

Open
fetzerms opened this issue Mar 22, 2021 · 0 comments
Open

Pass arbitrary parameters to native package managers #79

fetzerms opened this issue Mar 22, 2021 · 0 comments

Comments

@fetzerms
Copy link
Contributor

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=*'
  })
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