StarlingX Integration and packaging
Go to file
zhipengl 462fa4fc08 Refactor patches for nss-pam-ldapd package
The change of 3 meta patches refers to %post section in spec file.
The comment in the patch mentions that we don't want change our custom
binddn and bindpw in nslcd.conf.
However, in spec file, "source" variabe could not be assigned to a valid
file name, as we could not find these *.conf files in /etc/ folder.

if test -s /etc/nss-ldapd.conf ; then
        source=/etc/nss-ldapd.conf
elif test -s /etc/nss_ldap.conf ; then
        source=/etc/nss_ldap.conf
elif test -s /etc/pam_ldap.conf ; then
        source=/etc/pam_ldap.conf
else
        source=/etc/ldap.conf

So it will not change nslcd.conf even if we do not remove
below code.

if grep -E -q '^base[[:blank:]]' $source 2> /dev/null ; then
     # Comment out the packaged default base and replace it.
        sed -i -r -e 's,^(base[[:blank:]].*),# \1,g' $target
        grep -E '^base[[:blank:]]' $source >> $target
fi

grep -E '^(binddn|bindpw|port|scope|ssl|pagesize)[[:blank:]]'
   $source 2> /dev/null >> $target

We can use RPM instead of SRPM for nss-pam-ldapd package,
since related patches are not used anymore.

Deployment test pass.

Story: 2003768
Task: 28045
Depends-on: https://review.openstack.org/#/c/619976/

Change-Id: Ia4fa723d1a6ff9a7a8059fc2db1afec640ea41b1
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-28 02:25:22 +00:00
base fix base/cluster-resource-agents/centos/meta_patches/spec-include-TiS-patches.patch 2018-11-27 14:58:01 -05:00
ceph Merge "Python 3 compatibility: use print as a function." 2018-11-02 18:38:13 +00:00
config de-fuzz fuzzy patch in puppet-ceph 2018-11-22 23:54:57 +08:00
config-files Refactor patches for util-linux package 2018-11-22 18:17:53 +08:00
database Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
devstack Add DevStack plugin 2018-11-01 23:59:31 -05:00
doc [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:36:35 +00:00
filesystem remove unused files in parted package 2018-11-22 23:58:18 +08:00
grub de-fuzz grub2 patches 2018-09-28 08:10:39 +08:00
kernel update ima public certificate for standard kernel 2018-10-10 16:44:58 -04:00
kubernetes Uprev kubernetes from 1.10 to 1.12.1 2018-10-18 10:36:39 -05:00
ldap Refactor patches for nss-pam-ldapd package 2018-11-28 02:25:22 +00:00
logging Merge "refactor syslog-ng" 2018-11-19 01:28:20 +00:00
monitoring Make collectd alarm notifier retry alarm clear attempts that fail 2018-09-20 14:21:32 -04:00
networking Merge "refactor iptables" 2018-11-19 01:28:36 +00:00
python Fix fuzzy issue introduced by Change 597433 2018-11-06 01:56:04 +08:00
releasenotes [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:36:35 +00:00
security refactor audit 2018-11-12 19:51:58 +08:00
storage-drivers Add hooks for python wheel generation 2018-10-23 10:35:32 -04:00
tools Refactor patches for initscripts package 2018-11-21 01:26:32 +00:00
utilities Implement Active-Active Heartbeat as HA Improvement 2018-11-14 20:19:41 +00:00
virt Rebase openstack-helm and openstack-helm-infra 2018-11-15 23:55:58 -05:00
.gitignore [Doc] Release Notes Management 2018-09-25 05:43:29 -05:00
.gitreview correct gitreview for master 2018-09-20 23:20:14 +08:00
.zuul.yaml Add DevStack plugin 2018-11-01 23:59:31 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:36:35 -07:00
centos_guest_image.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_guest_image_rt.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_iso_image.inc Refactor patches for net-snmp package 2018-11-26 01:21:38 +00:00
centos_pike_docker_images.inc Create stx-integ docker image directives file 2018-11-14 15:16:18 -06:00
centos_pike_wheels.inc Rename centos_wheels.inc to centos_pike_wheels.inc 2018-11-14 15:09:05 -06:00
centos_pkg_dirs Refactor patches for nss-pam-ldapd package 2018-11-28 02:25:22 +00:00
centos_pkg_dirs_installer Relocate anaconda to stx-integ/base/anaconda 2018-08-01 15:37:12 -04:00
centos_pkg_dirs_rt Relocate drbd to stx-integ/kernel/kernel-modules/drbd 2018-08-01 15:31:44 -04:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Merge "Add DevStack plugin" 2018-11-08 18:20:02 +00:00

README.rst

stx-integ

StarlingX Integration