Skip to content

[FEATURE REQUEST] Support for repo format DEB822 #67760

@dwoz

Description

@dwoz

Discussed in #67334

Originally posted by ppoudrier-omnimed September 26, 2024
Is your feature request related to a problem? Please describe.
Actually, when I use the following state, it always get executed.

suricata-repo:
  pkgrepo.managed:
    - ppa: oisf/suricata-stable

I digged deeper to find that the repo is never listed in salt 'host' pkg.list_repos
Please note that le ppa of suricata for Ubuntu 24.04 always return the deb822 format and if I try to force the use of keyserver and keyid, the key is invalid to apt

Describe the solution you'd like
I would like have a state that do not reinstall the repo each time so I can have a valid test=true to know if something need to be applied

Describe alternatives you've considered
I ended using file.managed

Additional context

  • Tested with salt version 3006.9 (Master and Minion)
  • Master on Ubuntu 20.04 and Minion on Ubuntu 24.04

Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions