Add debian package for puppet-nslcd module
This package is 3rdparty. Use a different package than on CentOS. Chose an Apache 2.0 as we may need to patch this. There exists PRs for Puppet 5.x and puppetlabs-stdlib 5.x support, and generic parameter configuration. nslcd.conf template supports the same fields as the one from the CentOS package plus a few more. Did build puppet-nslcd. Did build iso. Story: 2009101 Task: 43380 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: Ia9e7b1f6df43e354857e395384c665cbd430b09b
This commit is contained in:
parent
5997bdc453
commit
a5300e36b1
@ -0,0 +1,5 @@
|
|||||||
|
puppet-nslcd (0.4.1-0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Dan Voiculeasa <dan.voiculeasa@windriver.com> Wed, 08 Sep 2021 11:50:43 +0000
|
16
config/puppet-modules/puppet-nslcd/debian/deb_folder/control
Normal file
16
config/puppet-modules/puppet-nslcd/debian/deb_folder/control
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Source: puppet-nslcd
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
|
||||||
|
Build-Depends: debhelper-compat (= 13)
|
||||||
|
Standards-Version: 4.4.1
|
||||||
|
Homepage: https://www.starlingx.io
|
||||||
|
|
||||||
|
Package: puppet-nslcd
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends},
|
||||||
|
${misc:Depends},
|
||||||
|
puppet,
|
||||||
|
puppet-module-puppetlabs-stdlib
|
||||||
|
Description: Puppet module named puppet-nslcd
|
||||||
|
A Puppet module for nslcd - local LDAP name service daemon
|
@ -0,0 +1,31 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
|
||||||
|
Upstream-Name: puppet-nslcd
|
||||||
|
Upstream-Contact: https://github.com/geekix
|
||||||
|
Source: https://github.com/geekix/puppet-nslcd/
|
||||||
|
Files: *
|
||||||
|
Copyright: (C) 2015-2019 https://github.com/geekix
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
Upstream-Name: puppet-nslcd
|
||||||
|
Upstream-Contact: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
|
||||||
|
Source: https://opendev.org/starlingx/integ/src/branch/master/config/puppet-modules/puppet-nslcd
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2021 Wind River Systems, Inc.
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
License: Apache-2
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license
|
||||||
|
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
@ -0,0 +1,4 @@
|
|||||||
|
manifests usr/share/puppet/modules.available/puppet-nslcd
|
||||||
|
metadata.json usr/share/puppet/modules.available/puppet-nslcd
|
||||||
|
spec usr/share/puppet/modules.available/puppet-nslcd
|
||||||
|
templates usr/share/puppet/modules.available/puppet-nslcd
|
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# see: dh_installdeb(1)
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "${1}" = "configure" ] ; then
|
||||||
|
update-alternatives --install /usr/share/puppet/modules/nslcd puppet-module-nslcd \
|
||||||
|
/usr/share/puppet/modules.available/puppet-nslcd 500
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# see: dh_installdeb(1)
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "${1}" = "remove" ] || [ "${1}" = "disappear" ]; then
|
||||||
|
update-alternatives --remove puppet-module-nslcd \
|
||||||
|
/usr/share/puppet/modules.available/puppet-nslcd
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# see: dh_installdeb(1)
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "${1}" = "remove" ] || [ "${1}" = "upgrade" || [ "${1}" = "deconfigure" ]; then
|
||||||
|
update-alternatives --remove puppet-module-nslcd \
|
||||||
|
/usr/share/puppet/modules.available/puppet-nslcd
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
7
config/puppet-modules/puppet-nslcd/debian/deb_folder/rules
Executable file
7
config/puppet-modules/puppet-nslcd/debian/deb_folder/rules
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# See debhelper(7) (uncomment to enable)
|
||||||
|
# output every command that modifies files on the build system.
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
10
config/puppet-modules/puppet-nslcd/debian/meta_data.yaml
Normal file
10
config/puppet-modules/puppet-nslcd/debian/meta_data.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
debname: puppet-nslcd
|
||||||
|
debver: 0.4.1-0
|
||||||
|
dl_path:
|
||||||
|
name: puppet-nslcd-0.4.1-0.tar.gz
|
||||||
|
url: https://codeload.github.com/geekix/puppet-nslcd/tar.gz/d3c616497151c2e8df746cfe47bac966422abc4c
|
||||||
|
md5sum: 028092acf259a3fbf4bd03612e98f85b
|
||||||
|
revision:
|
||||||
|
dist: $STX_DIST
|
||||||
|
PKG_GITREVCOUNT: true
|
Loading…
Reference in New Issue
Block a user