puppet-openldap icon indicating copy to clipboard operation
puppet-openldap copied to clipboard

Multiple hard coded references

Open huckabeec opened this issue 1 year ago • 0 comments

  • 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

huckabeec avatar Sep 20 '24 18:09 huckabeec