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

Fix mod_auth_openidc parameters #2525

Merged
merged 1 commit into from Feb 17, 2024
Merged

Fix mod_auth_openidc parameters #2525

merged 1 commit into from Feb 17, 2024

Conversation

smortex
Copy link
Collaborator

@smortex smortex commented Feb 15, 2024

A typo in the data type cause an exception with recent Puppet 8
versions:

Error: The key '["IDTokenEncryptedResponseAlg"]' is declared more than once (file: /etc/puppetlabs/code/environments/production/modules/apache/types/oidcsettings.pp, line: 41, column: 57) on node b4d45d8831d5.mtgrj3ika5nejlcpzgeeecg0la.cx.internal.cloudapp.net

According to the upstream repository configuration file, this is a
copy-paste error.

A typo in the data type cause an exception with recent Puppet 8
versions:

```
Error: The key '["IDTokenEncryptedResponseAlg"]' is declared more than once (file: /etc/puppetlabs/code/environments/production/modules/apache/types/oidcsettings.pp, line: 41, column: 57) on node b4d45d8831d5.mtgrj3ika5nejlcpzgeeecg0la.cx.internal.cloudapp.net
```

According to the upstream repository configuration file, this is a
copy-paste error.
@smortex smortex requested review from bastelfreak, ekohl and a team as code owners February 15, 2024 20:04
@smortex smortex mentioned this pull request Feb 15, 2024
3 tasks
@smortex smortex added the bugfix label Feb 15, 2024
@ekohl
Copy link
Collaborator

ekohl commented Feb 16, 2024

It was introduced in 9f7f38f. How did we not find this before? I see we don't have a test for the type in spec/type_aliases so would have caught it?

@smortex
Copy link
Collaborator Author

smortex commented Feb 17, 2024

Lack of tests might not help indeed. The new Puppet 8 ensuring there is no duplicate allows us to find such issues now, so I guess this is okay.

The ARM builds seems currently broken (or at least not reliable as they do not start), and I think we can ignore them. I will merge this so that we can move on on other PR broken by this typo.

@smortex smortex merged commit bde17ea into main Feb 17, 2024
43 of 45 checks passed
@smortex smortex deleted the fix-oidc-parameters branch February 17, 2024 22:53
@ekohl ekohl linked an issue Feb 28, 2024 that may be closed by this pull request
kenyon added a commit to kenyon/puppet that referenced this pull request Mar 1, 2024
evgeni added a commit to theforeman/puppet-foreman that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
evgeni added a commit to theforeman/puppet-pulpcore that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
evgeni added a commit to theforeman/puppet-katello that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
evgeni added a commit to theforeman/puppet-foreman_proxy_content that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
evgeni added a commit to theforeman/foreman-installer that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
ekohl pushed a commit to theforeman/puppet-foreman that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
ekohl pushed a commit to theforeman/puppet-pulpcore that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
ekohl pushed a commit to theforeman/puppet-katello that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
ekohl pushed a commit to theforeman/puppet-foreman_proxy_content that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
evgeni added a commit to theforeman/foreman-installer that referenced this pull request Mar 18, 2024
We need 12.0.3+ for Puppet 8 support due to puppetlabs/puppetlabs-apache#2525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The key '["IDTokenEncryptedResponseAlg"]' is declared more than once
3 participants