Skip to content

Commit 8ae9ee2

Browse files
committed
Remove deprecated code
1 parent cf66650 commit 8ae9ee2

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

REFERENCE.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ The following parameters are available in the `openldap::server` class:
453453

454454
* [`krb5_keytab_file`](#-openldap--server--krb5_keytab_file)
455455
* [`krb5_client_keytab_file`](#-openldap--server--krb5_client_keytab_file)
456-
* [`manage_policy_rc_d`](#-openldap--server--manage_policy_rc_d)
457456
* [`package`](#-openldap--server--package)
458457
* [`confdir`](#-openldap--server--confdir)
459458
* [`conffile`](#-openldap--server--conffile)
@@ -503,15 +502,6 @@ configuring sasl with backend GSSAPI
503502

504503
Default value: `undef`
505504

506-
##### <a name="-openldap--server--manage_policy_rc_d"></a>`manage_policy_rc_d`
507-
508-
Data type: `Optional[Boolean]`
509-
510-
If set, manage /usr/sbin/policy-rc.d on Debian based operating systems to not automatically start the LDAP server
511-
when installing slapd. This is required when preseeding the package with the no_configuration flag as we have to.
512-
513-
Default value: `undef`
514-
515505
##### <a name="-openldap--server--package"></a>`package`
516506

517507
Data type: `String[1]`

manifests/server.pp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
# @param krb5_client_keytab_file
66
# if set, manage the env variable KRB5_CLIENT_KTNAME on Debian based operating systems. This is required when
77
# configuring sasl with backend GSSAPI
8-
# @param manage_policy_rc_d
9-
# If set, manage /usr/sbin/policy-rc.d on Debian based operating systems to not automatically start the LDAP server
10-
# when installing slapd. This is required when preseeding the package with the no_configuration flag as we have to.
118
class openldap::server (
129
String[1] $package,
1310
String[1] $confdir,
@@ -41,17 +38,12 @@
4138
Optional[Stdlib::Absolutepath] $krb5_client_keytab_file = undef,
4239
Optional[String] $ldap_config_backend = undef,
4340
Optional[Boolean] $enable_memory_limit = undef,
44-
Optional[Boolean] $manage_policy_rc_d = undef,
4541
) {
4642
include openldap::server::install
4743
include openldap::server::config
4844
include openldap::server::service
4945
include openldap::server::slapdconf
5046

51-
unless $manage_policy_rc_d =~ Undef {
52-
deprecation('manage_policy_rc_d', 'The manage_policy_rc_d parameter is deprecated and unused. It will be removed in a future version.')
53-
}
54-
5547
Class['openldap::server::install']
5648
-> Class['openldap::server::config']
5749
~> Class['openldap::server::service']

0 commit comments

Comments
 (0)