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

require PSH 5.x, require puppet-strings #84

Merged
merged 2 commits into from
Feb 9, 2023

Conversation

bastelfreak
Copy link
Member

with the release of puppetlabs_spec_helper 5, it can validate the REFERENCE.md. It won't pull in puppet-strings automatically, so the dependency needs to be added. The strings:validate:reference task is called within validate.

@bastelfreak bastelfreak added the enhancement New feature or request label Feb 9, 2023
@bastelfreak bastelfreak self-assigned this Feb 9, 2023
@bastelfreak
Copy link
Member Author

tested that at voxpupuli/puppet-yum#297

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Base: 1.63% // Head: 1.63% // No change to project coverage 👍

Coverage data is based on head (ca5d1dc) compared to base (53011ea).
Patch has no changes to coverable lines.

❗ Current head ca5d1dc differs from pull request most recent head 78abf49. Consider uploading reports for the commit 78abf49 to get more accurate results

Additional details and impacted files
@@          Coverage Diff           @@
##           master     #84   +/-   ##
======================================
  Coverage    1.63%   1.63%           
======================================
  Files           2       2           
  Lines          61      61           
======================================
  Hits            1       1           
  Misses         60      60           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bastelfreak
Copy link
Member Author

Also contains #85

Copy link
Member

@jhoblitt jhoblitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me. I'm not thrilled about functions in the Gemfile but the alternative is probably worse.

This now uses a similar setup as puppet-syntax. Sideeffect is that for
Puppet 6 tests, we pull in the 6.29 version or newer, which has a fix
to pin to concurrent-ruby 1.1 and older.
with the release of puppetlabs_spec_helper 5, it can validate the
REFERENCE.md. It won't pull in puppet-strings automatically, so the
dependency needs to be added. The `strings:validate:reference` task is
called within `validate`.
@bastelfreak bastelfreak merged commit 769d3f0 into voxpupuli:master Feb 9, 2023
@bastelfreak bastelfreak deleted the strings branch February 9, 2023 20:57
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