Skip to content

Fix SLES15 values for virtual_alias_db_type#73

Merged
anders-larsson merged 2 commits into
Ericsson:masterfrom
anders-larsson:sles15_parameter
Jun 26, 2023
Merged

Fix SLES15 values for virtual_alias_db_type#73
anders-larsson merged 2 commits into
Ericsson:masterfrom
anders-larsson:sles15_parameter

Conversation

@anders-larsson
Copy link
Copy Markdown
Contributor

No description provided.

@Phil-Friderici
Copy link
Copy Markdown
Contributor

Looks better to me ;)
Sorry and thank you !!

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Any ideas on CI / Spec Puppet 6 and why it might be failing?

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Any ideas @Phil-Friderici ? Guess there is some incompatibility issues between gems specified in Gemfile on older versions of ruby? Why are we not using PDK for the spec tests btw?

@Phil-Friderici
Copy link
Copy Markdown
Contributor

Phil-Friderici commented Jun 21, 2023

Any ideas @Phil-Friderici ? Guess there is some incompatibility issues between gems specified in Gemfile on older versions of ruby?

I guess it's on Puppetlabs to fix the PDK and related Gems. Whatever I tried, didn't work out.

Why are we not using PDK for the spec tests btw?

Any idea how to do so ? I only found this Github action to run the unit/acceptance tests.

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Any idea how to do so ? I only found this Github action to run the unit/acceptance tests.

After looking around the options seems to be limited. There are a few for spec tests but nothing for acceptance tests. The reason why I mentioned it is because it seems to work fine with if you run it through pdk with --puppet-version instead of using bundle directly.

Should we make our own attempt in creating a Github action for PDK?

@Phil-Friderici
Copy link
Copy Markdown
Contributor

Should we make our own attempt in creating a Github action for PDK?

I think the Github action we use did work well quite some time. I guess that Puppetlabs fix their dependencies and the action will continue to work well again then. We just need to wait.

I think we could skip Puppet 6 unit test by removing support for it from metadata.json. As Puppet 6 isn't important for us, I think we should take that route instead. Once PDK get updated to fully support Puppet 8 we would have again two major versions to get tested.

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Sounds sane. Will you create a separate change request to remove it or should I?

@Phil-Friderici
Copy link
Copy Markdown
Contributor

Should be easier for you to modify the PR ;)

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Is it OK to include it in this PR?

@Phil-Friderici
Copy link
Copy Markdown
Contributor

Make it it's own commit and I think it should be good enough.

@anders-larsson
Copy link
Copy Markdown
Contributor Author

OK. Just need to figure out how it works then. Looks like it's looping every some list it gets from somewhere. Not sure where the variable comes from though.

@Phil-Friderici
Copy link
Copy Markdown
Contributor

I would start with putting this into metadata.json:

  "requirements": [
    {
      "name": "puppet",
      "version_requirement": ">= 7.0.0 < 9.0.0"
    }
  ],

@anders-larsson
Copy link
Copy Markdown
Contributor Author

I suspect that might be the case. Seems a bit sad though because the module ought to still work on Puppet 6.

@Phil-Friderici
Copy link
Copy Markdown
Contributor

I am sure it will work fluently with Puppet 6, we only skip verifying it.

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Of course it will. It will just announce that the module "officially" supports it.. since metadata is just metadata after all.

I'll fix it.

@anders-larsson
Copy link
Copy Markdown
Contributor Author

Are we OK to merge this?

@anders-larsson anders-larsson merged commit aec69e9 into Ericsson:master Jun 26, 2023
@anders-larsson anders-larsson deleted the sles15_parameter branch June 26, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants