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

Allow additional option for $cache parameter #169

Merged
merged 2 commits into from
Jan 29, 2021

Conversation

bryangwilliam
Copy link
Contributor

Update the cache parameter on init class to match the allowed values for
resolved.

This addresses the issue brought up here: #166

#140 initally added the ability to use the no-negative option for resolved, however it did not include the corresponding adjustment to allow controlling the value from the init class.

@puppet-community-rangefinder
Copy link

systemd is a class

Breaking changes to this file WILL impact these 20 modules (exact match):
Breaking changes to this file MAY impact these 8 modules (near match):

This module is declared in 8 of 576 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@raphink
Copy link
Member

raphink commented Jan 18, 2021

LGTM. Could you add a unit test for this please?

Update the cache parameter on init class to match the allowed values for
resolved.
@bryangwilliam
Copy link
Contributor Author

Added testing around the cache variants.

@raphink raphink merged commit 448ec1d into voxpupuli:master Jan 29, 2021
@raphink raphink added the enhancement New feature or request label Feb 10, 2021
simondeziel pushed a commit to simondeziel/puppet-systemd that referenced this pull request Jun 16, 2021
* Allow additional option for $cache parameter

Update the cache parameter on init class to match the allowed values for
resolved.

* added tests for resolved cache variants
simondeziel pushed a commit to simondeziel/puppet-systemd that referenced this pull request Jun 16, 2021
* Allow additional option for $cache parameter

Update the cache parameter on init class to match the allowed values for
resolved.

* added tests for resolved cache variants
op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
Support paramatized yum::versionlock
op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
Correct acceptence tests for DNF (8) system

Use the new versionlock specification from voxpupuli#169 on CentOS 8.

Also test the new specification on 7 and 8 also.

Finally test that if samba-devel is filtered at
an impossible version it is no longer available.

This for the yum case probably assumes that samba-devel is not
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