Skip to content

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Apr 7, 2024
1 parent cf66650 commit 8ae9ee2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
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

0 comments on commit 8ae9ee2

Please sign in to comment.