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

(maint) PDK Update 2.7.5 #663

Merged
merged 12 commits into from Sep 20, 2023
Merged

(maint) PDK Update 2.7.5 #663

merged 12 commits into from Sep 20, 2023

Conversation

AriaXLi
Copy link
Contributor

@AriaXLi AriaXLi commented Aug 24, 2023

This commit updates and applies the 2.7.5 PDK template to prepare for the v1.15.0 release

@AriaXLi AriaXLi requested a review from a team as a code owner August 24, 2023 22:10
@AriaXLi AriaXLi force-pushed the pdk-update branch 2 times, most recently from 85d02b8 to 2f172df Compare August 24, 2023 22:45
@AriaXLi AriaXLi changed the title (maint) PDK Update 3.0.0 (maint) PDK Update 2.7.5 Aug 24, 2023
@AriaXLi AriaXLi force-pushed the pdk-update branch 3 times, most recently from 2c43ec7 to 9e65ac8 Compare August 24, 2023 23:39
.sync.yml Outdated Show resolved Hide resolved
This commit updates and applies the 2.7.5 PDK template to prepare for
the v1.15.0 release and make using the GitHub Changelog Generator easier.
@AriaXLi AriaXLi force-pushed the pdk-update branch 5 times, most recently from 0ea51fe to cac524c Compare September 13, 2023 23:13
@AriaXLi AriaXLi requested a review from a team as a code owner September 13, 2023 23:40
REFERENCE.md Outdated Show resolved Hide resolved
@mhashizume
Copy link
Contributor

mhashizume commented Sep 14, 2023

I tried to run an ad hoc pipeline for this PR (here), but it failed because the Beaker rake task is missing. I think you'll need to re-add the Vox Beaker gem (like I did here) and try running this in the ad hoc pipeline to make sure that it runs cleanly.

@joshcooper
Copy link
Contributor

I'm a little concerned about the amount of changes. Would it be possible to split this up and just bump stdlib dependency in metadata.json and release the module using the old release automation?

Copy link
Member

@donoghuc donoghuc left a comment

Choose a reason for hiding this comment

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

I focused my review on the task content for this module. The changes to the tasks seem mostly cosmetic. If the task acceptance tests still pass then I am confident this refactor as it relates to task content is ok.

When updating the module to PDK 2.7.5, the Vox Beaker gem was removed.
puppetlabs_spec_helper updated and the updated version removed the Beaker rake
task which is used for acceptance testing.

This commit adds the voxpupuli-acceptance gem which re-adds the Beaker rake task.
This commit includes all the changes needed to pass the validate rake/check
which checks if the module adheres to the Puppet Strings style.
This commit blocks the top_scope_facts, only_variable_string, and
strinct_indent lint check for portions of manifests/install/windows.pp,
manifests/osfamily/redhat.pp, and manifests/osfamily/suse.pp respectively.

For the top_scope_facts, the check keeps on thinking
`puppet_agent::_expected_package_version` in windows.pp is a fact. For the
only_variable_string, when I try to remove the double quotes from
`"${facts['os']['release']['major']}"`, the conditional no longer works as
expected in redhat.pp. Lastly, for the strict_indent check, it thinks the
indentation for $script in redhat.pp and suse.pp is wrong but it is not.
Currentlty, the puppet_url_without_modules assumes all puppet:/// URLs are
using the modules mount. pe_packages is a custom mount and does not use the
modules mount.
@joshcooper joshcooper merged commit a4130e5 into puppetlabs:main Sep 20, 2023
17 checks passed
@AriaXLi AriaXLi deleted the pdk-update branch September 20, 2023 20:48
@AriaXLi AriaXLi added the enhancement New feature or request label Sep 20, 2023
seanmil added a commit to seanmil/puppetlabs-puppet_agent that referenced this pull request Sep 27, 2023
In PR puppetlabs#663 an overly strict datatype was set for the
skip_if_unavailable parameter. The yumrepo type supports
a variety of string values and boolean values.
seanmil added a commit to seanmil/puppetlabs-puppet_agent that referenced this pull request Sep 27, 2023
In PR puppetlabs#663 an overly strict datatype was set for the
skip_if_unavailable parameter. The yumrepo type supports
a variety of string values and boolean values.
seanmil added a commit to seanmil/puppetlabs-puppet_agent that referenced this pull request Sep 28, 2023
In PR puppetlabs#663 an overly strict datatype was set for the
skip_if_unavailable parameter. The yumrepo type supports
a variety of string values and boolean values.
seanmil added a commit to seanmil/puppetlabs-puppet_agent that referenced this pull request Sep 28, 2023
In PR puppetlabs#663 an overly strict datatype was set for the
skip_if_unavailable parameter. The yumrepo type supports
a variety of string values and boolean values.
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.

None yet

4 participants