c6e7199bb761a2183c8fe47f44930694a93a98e0
[pti/rtp.git] / meta-stx / recipes-core / stx-config / files / 0001-puppet-manifests-integ-set-correct-ldap-module-path.patch
1 From 32efd8d303556b43005f26715bd8264886e17420 Mon Sep 17 00:00:00 2001
2 From: "Sar Ashki, Babak" <Babak.SarAshki@windriver.com>
3 Date: Wed, 11 Dec 2019 17:24:17 -0800
4 Subject: [PATCH] puppet-manifests integ: set correct ldap module path
5
6 OE installs ldap modules under libexec.
7 ---
8  puppet-manifests/src/modules/platform/manifests/ldap.pp | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/puppet-manifests/src/modules/platform/manifests/ldap.pp b/puppet-manifests/src/modules/platform/manifests/ldap.pp
12 index b3d6ee71..7205e7d3 100644
13 --- a/puppet-manifests/src/modules/platform/manifests/ldap.pp
14 +++ b/puppet-manifests/src/modules/platform/manifests/ldap.pp
15 @@ -53,7 +53,7 @@ class platform::ldap::server::local
16                            -e 's:serverID.*:serverID ${server_id}:' \\
17                            -e 's:credentials.*:credentials=${admin_pw}:' \\
18                            -e 's:^rootpw .*:rootpw ${admin_hashed_pw}:' \\
19 -                          -e 's:modulepath .*:modulepath /usr/lib64/openldap:' \\
20 +                          -e 's:modulepath .*:modulepath /usr/libexec/openldap:' \\
21                            /etc/openldap/slapd.conf",
22      onlyif  => '/usr/bin/test -e /etc/openldap/slapd.conf'
23    }
24 -- 
25 2.23.0
26