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

Multiple hard coded references #434

Open
huckabeec opened this issue Sep 20, 2024 · 0 comments
Open

Multiple hard coded references #434

huckabeec opened this issue Sep 20, 2024 · 0 comments

Comments

@huckabeec
Copy link

huckabeec commented Sep 20, 2024

  • Puppet: 7.x
  • Distribution: RHEL8
  • Module version: 8.0.0

As mentioned in the existing PR #429 openldap-server is depreciated under RHEL8 and many people want to use a third party package. In my case I want to use the the ones produced by the LDAP ToolBox folks who install in /usr/local/openldap/*

But there are some hard coded assumptions throughout the module that need overrides.

  • lib/puppet/provider/openldap_database/olc.rb and lib/puppet/provider/openldap_overlay/olc.rb:
    • has service slapd start and service slapd stop hardcoded instead of using openldap::server::service name
    • default_confdir is defined to an assumed path based on OS instead of using openldap::server::confdir
  • openldap::client ignores package and package_version and keeps pulling in 'openldap-clients' which breaks the setup
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

No branches or pull requests

1 participant