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 openldap_schema replace without attribute types #393

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

dmaes
Copy link
Contributor

@dmaes dmaes commented Aug 25, 2023

Check if the schema contains any attribute types
before adding the relevant replace: lines to the replace ldif.

This fixes failing updates on schemas without any attribute types.

Check if the schema contains any attribute types
before adding the relevant `replace:` lines to the replace ldif.

This fixes failing updates on schemas without any attribute types.
@dmaes
Copy link
Contributor Author

dmaes commented Aug 25, 2023

Seems like static validation check is failing on some already-existing code that I didn't touch...

Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

LGTM!

Failures are handled in #394 but the check was reverted here:
puppetlabs/puppet-lint#147

@smortex smortex merged commit cdbded2 into voxpupuli:master Aug 29, 2023
28 checks passed
@smortex smortex added the bug Something isn't working label Aug 29, 2023
@smortex smortex changed the title openldap_schema: fix replace w/o attribute types Fix openldap_schema replace without attribute types Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants