commit 61268fa191db99f8c27f36fd01f4783c04b9819f
Author: Andy Ning <email address hidden>
Date: Wed Oct 26 12:12:20 2022 -0400
Fix ldap puppet duplicate declaration error
On CentOS based STX system, ansible bootstrap will fail to complete
during puppet configuration. The failure is caused by a duplicate
declaration error in ldap.pp. This change fixed this error by
updating ldap.pp to avoid the duplicate declaration.
TEST PLAN (CentOS only):
PASS: System deployment (bootstrap and unlock)
PASS: System lock/unlock
PASS: Verify openldap user accessibility by
getent passwd <openldap user>
PASS: Verify openldap user existance by ldapsearch -x -b 'ou=people,dc=cgcs,dc=local' '(objectclass=*)'
PASS: Verify ldapscripts tools can access openldap users by ldapfinger <openldap user>
PASS: Verify openldap users can login system on console and by ssh
Closes-Bug: 1993832
Signed-off-by: Andy Ning <email address hidden>
Change-Id: Iaf24e5e946eb3ba9f194b1f1c743bec98898b1c4
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/862755 /opendev. org/starlingx/ stx-puppet/ commit/ 61268fa191db99f 8c27f36fd01f478 3c04b9819f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 61268fa191db99f 8c27f36fd01f478 3c04b9819f
Author: Andy Ning <email address hidden>
Date: Wed Oct 26 12:12:20 2022 -0400
Fix ldap puppet duplicate declaration error
On CentOS based STX system, ansible bootstrap will fail to complete
during puppet configuration. The failure is caused by a duplicate
declaration error in ldap.pp. This change fixed this error by
updating ldap.pp to avoid the duplicate declaration.
TEST PLAN (CentOS only):
ldapsearch -x -b 'ou=people, dc=cgcs, dc=local' '(objectclass=*)'
ldapfinger <openldap user>
PASS: System deployment (bootstrap and unlock)
PASS: System lock/unlock
PASS: Verify openldap user accessibility by
getent passwd <openldap user>
PASS: Verify openldap user existance by
PASS: Verify ldapscripts tools can access openldap users by
PASS: Verify openldap users can login system on console and by ssh
Closes-Bug: 1993832 a9f194b1f1c743b ec98898b1c4
Signed-off-by: Andy Ning <email address hidden>
Change-Id: Iaf24e5e946eb3b