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

Add Fedora 30/31 compatibility #141

Merged
merged 1 commit into from
Feb 24, 2020
Merged

Conversation

bastelfreak
Copy link
Member

No description provided.

@bastelfreak bastelfreak added the enhancement New feature or request label Feb 20, 2020
@bastelfreak bastelfreak self-assigned this Feb 20, 2020
@bastelfreak bastelfreak merged commit e360aab into voxpupuli:master Feb 24, 2020
@bastelfreak bastelfreak deleted the fedora31 branch February 24, 2020 11:34
op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
* Add facts related to upgradable packages

Add three new facts:
- yum_has_updates -- Boolean indicating if updates are available;
- yum_package_updates -- Array[String] list of upgradable packages;
- yum_updates -- Integer number of upgradable packages.

These facts are named in the same way as the ones provided by the
puppetlabs-apt module.

* Add a new yum_reboot_required fact

Just like the apt_reboot_required fact provided by the puppetlabs-apt
module, this fact tells if the systems needs to be rebooted.  It relies
on the needs-restarting(1) command which is part of yum-utils, already
managed by the module.

* Add 'list updates' as a valid task

This task will run yum without -C, fetching recent data if the
repositories are outdated.  The output is processed to extract the
package name, available version and repository of the update.  This
information is provided as an array of hashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants