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

pdk 3.0.0.0 puppet 6 support #1296

Closed
cdenneen opened this issue Nov 29, 2023 · 3 comments
Closed

pdk 3.0.0.0 puppet 6 support #1296

cdenneen opened this issue Nov 29, 2023 · 3 comments
Labels
bug needs-triage Newly created issue that has not been reviewed by a PDK contributor

Comments

@cdenneen
Copy link

So in version pdk 3.0.0.0 if you specify older versions than 7 it can't find the gem (which I don't fully understand since the older ruby 2.5.x should allow the puppet 6 gem to be found still). Is it just because it's embedded ruby gem that it's using?

If that's the case that in 3.x release we can't use older puppet versions then you probably need to update your docs:

https://www.puppet.com/docs/pdk/3.x/pdk_testing.html

pdk validate --puppet-version 5.5.12

I'm okay with puppet 5, 6 not being bundled with the embedded ruby but I don't see reason they can't be installed like any other gem dependency for backwards compatibility?

@cdenneen cdenneen added bug needs-triage Newly created issue that has not been reviewed by a PDK contributor labels Nov 29, 2023
@threepistons
Copy link

Same here.

# me @ mypc in ~/git/puppet_module_msktutil on git:main x [17:29:31] C:130
$ pdk validate --puppet-version 6
pdk (ERROR): Unable to find a Puppet gem matching ~> 6.0.

# me @ mypc in ~/git/puppet_module_msktutil on git:main x [17:29:33] C:1
$ pdk validate --puppet-version 7
pdk (INFO): Using Ruby 2.7.8
pdk (INFO): Using Puppet 7.27.0
pdk (INFO): Running all available validators...
^C
Aborted!


# me @ mypc in ~/git/puppet_module_msktutil on git:main x [17:29:36] C:130
$ pdk validate --puppet-version 8
pdk (INFO): Using Ruby 3.2.2
pdk (INFO): Using Puppet 8.3.1
pdk (INFO): Running all available validators...
^C
Aborted!

threepistons added a commit to newcastleuniversity/puppet_module_msktutil that referenced this issue Jan 22, 2024
@dotdiego
Copy link

Any workaround on this issue ?

@pmcmaw
Copy link
Contributor

pmcmaw commented Jan 28, 2025

Hey, apologies for the delay on this. When building and shipping the PDK we aim to only support latest and LTS.
Puppet 6 went EOL on Febuary 2023 and PDK 3.0.0 was released on the 4th July 2023. If you want to continue testing on Puppet 6 please use an older version of the PDK.

@pmcmaw pmcmaw closed this as completed Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage Newly created issue that has not been reviewed by a PDK contributor
Projects
None yet
Development

No branches or pull requests

4 participants