Skip to content

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
@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