Skip to content

Multiple hard coded references #434

@huckabeec

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions