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

Remove deprecated code #388

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ The following parameters are available in the `openldap::server` class:

* [`krb5_keytab_file`](#-openldap--server--krb5_keytab_file)
* [`krb5_client_keytab_file`](#-openldap--server--krb5_client_keytab_file)
* [`manage_policy_rc_d`](#-openldap--server--manage_policy_rc_d)
* [`package`](#-openldap--server--package)
* [`confdir`](#-openldap--server--confdir)
* [`conffile`](#-openldap--server--conffile)
Expand Down Expand Up @@ -503,15 +502,6 @@ configuring sasl with backend GSSAPI

Default value: `undef`

##### <a name="-openldap--server--manage_policy_rc_d"></a>`manage_policy_rc_d`

Data type: `Optional[Boolean]`

If set, manage /usr/sbin/policy-rc.d on Debian based operating systems to not automatically start the LDAP server
when installing slapd. This is required when preseeding the package with the no_configuration flag as we have to.

Default value: `undef`

##### <a name="-openldap--server--package"></a>`package`

Data type: `String[1]`
Expand Down
8 changes: 0 additions & 8 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# @param krb5_client_keytab_file
# if set, manage the env variable KRB5_CLIENT_KTNAME on Debian based operating systems. This is required when
# configuring sasl with backend GSSAPI
# @param manage_policy_rc_d
# If set, manage /usr/sbin/policy-rc.d on Debian based operating systems to not automatically start the LDAP server
# when installing slapd. This is required when preseeding the package with the no_configuration flag as we have to.
class openldap::server (
String[1] $package,
String[1] $confdir,
Expand Down Expand Up @@ -41,17 +38,12 @@
Optional[Stdlib::Absolutepath] $krb5_client_keytab_file = undef,
Optional[String] $ldap_config_backend = undef,
Optional[Boolean] $enable_memory_limit = undef,
Optional[Boolean] $manage_policy_rc_d = undef,
) {
include openldap::server::install
include openldap::server::config
include openldap::server::service
include openldap::server::slapdconf

unless $manage_policy_rc_d =~ Undef {
deprecation('manage_policy_rc_d', 'The manage_policy_rc_d parameter is deprecated and unused. It will be removed in a future version.')
}

Class['openldap::server::install']
-> Class['openldap::server::config']
~> Class['openldap::server::service']
Expand Down
Loading