salt icon indicating copy to clipboard operation
salt copied to clipboard

List servers with package upgrades pending

Open SwimGeek opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

I often use this command to see which servers need package upgrades: salt '*' pkg.list_upgrades

But, this creates a very long list of all the packages on all the servers.

Describe the solution you'd like

It would be nice to run something like: salt '*' pkg.list_servers_with_upgrades_pending To only get a list of servers which are in need of upgrades.

Additional context

Every time there is a Debian point release, I have to log into each server and upgrade it manually.

SwimGeek avatar Feb 11 '24 15:02 SwimGeek

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

welcome[bot] avatar Feb 11 '24 15:02 welcome[bot]

Are you talking about something like a summary ? I think you can do it yourself using a runner.

network-shark avatar Feb 12 '24 20:02 network-shark

Hi, not sure what a runner is. Do you have an example command?

I'd like a command I can run to list all servers which have one or more upgrades pending.

SwimGeek avatar Feb 13 '24 05:02 SwimGeek