diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/changelog b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/changelog new file mode 100644 index 000000000..52ef438dd --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +puppet-hash2stuff (1.2.1-0) unstable; urgency=medium + + * Initial release + + -- Andre Kantek Wed, 25 Apr 2023 11:50:43 +0000 diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/control b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/control new file mode 100644 index 000000000..ee5ce7dd7 --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/control @@ -0,0 +1,13 @@ +Source: puppet-hash2stuff +Section: admin +Priority: optional +Maintainer: StarlingX Developers +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.4.1 +Homepage: https://www.starlingx.io + +Package: puppet-hash2stuff +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, puppet +Description: Puppet module named puppet-hash2stuff + This module will convert puppet hashes into different formats commonly used for config files diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/copyright b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/copyright new file mode 100644 index 000000000..e193a845d --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Upstream-Name: puppet-hash2stuff +Upstream-Contact: Mark McKinstry (https://github.com/mmckinst) +Source: https://github.com/mmckinst/puppet-hash2stuff +Files: * +Copyright: (C) 2016 Mark McKinstry (https://github.com/mmckinst) +License: Apache-2.0 + +Upstream-Name: puppet-hash2stuff +Upstream-Contact: StarlingX Developers +Source: https://opendev.org/starlingx/integ/src/branch/master/config/puppet-modules/puppet-hash2stuff +Files: debian/* +Copyright: (c) 2023 Wind River Systems, Inc. +License: Apache-2.0 + +License: Apache-2.0 + 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 systems, the complete text of the Apache License Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.install b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.install new file mode 100644 index 000000000..0097000ee --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.install @@ -0,0 +1,4 @@ +metadata.json usr/share/puppet/modules.available/puppet-hash2stuff +spec usr/share/puppet/modules.available/puppet-hash2stuff +lib usr/share/puppet/modules.available/puppet-hash2stuff +LICENSE usr/share/puppet/modules.available/puppet-hash2stuff diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.postinst b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.postinst new file mode 100644 index 000000000..6619e8fc8 --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.postinst @@ -0,0 +1,13 @@ +#!/bin/sh +# see: dh_installdeb(1) + +set -e + +if [ "${1}" = "configure" ] ; then + update-alternatives --install /usr/share/puppet/modules/hash2stuff puppet-module-hash2stuff \ + /usr/share/puppet/modules.available/puppet-hash2stuff 500 +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.postrm b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.postrm new file mode 100644 index 000000000..cf4585b66 --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.postrm @@ -0,0 +1,13 @@ +#!/bin/sh +# see: dh_installdeb(1) + +set -e + +if [ "${1}" = "remove" ] || [ "${1}" = "disappear" ]; then + update-alternatives --remove puppet-module-hash2stuff \ + /usr/share/puppet/modules.available/puppet-hash2stuff +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.prerm b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.prerm new file mode 100644 index 000000000..495effd7e --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/puppet-hash2stuff.prerm @@ -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-hash2stuff \ + /usr/share/puppet/modules.available/puppet-hash2stuff +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/rules b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/rules new file mode 100755 index 000000000..f00dbc24f --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/rules @@ -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 $@ diff --git a/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/source/format b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/config/puppet-modules/puppet-hash2stuff/debian/meta_data.yaml b/config/puppet-modules/puppet-hash2stuff/debian/meta_data.yaml new file mode 100644 index 000000000..ca5403c1c --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/debian/meta_data.yaml @@ -0,0 +1,10 @@ +--- +debname: puppet-hash2stuff +debver: 1.2.1-0 +dl_path: + name: puppet-hash2stuff-1.2.1-0.tar.gz + url: https://codeload.github.com/mmckinst/puppet-hash2stuff/tar.gz/a3e8847d1e11fb92a36ff98b37e30e8a85beb702 + sha256sum: 9f1ef511a11cf46a5514669bfb34274e2f358db93b6b7a80a791592b6bd991dc +revision: + dist: ${STX_DIST} + PKG_GITREVCOUNT: true diff --git a/config/puppet-modules/puppet-hash2stuff/puppet_downloader.sh b/config/puppet-modules/puppet-hash2stuff/puppet_downloader.sh new file mode 100755 index 000000000..1c804b129 --- /dev/null +++ b/config/puppet-modules/puppet-hash2stuff/puppet_downloader.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +BRANCH="master" +repo="https://github.com/mmckinst" +module="puppet-hash2stuff" +git ls-remote ${repo}/${module} ${BRANCH} +SHA=`git ls-remote ${repo}/${module} ${BRANCH} | awk '{print $1}'` +echo ${SHA} +wget ${repo}/${module}/archive/${BRANCH}.tar.gz -O "${module}"-"${SHA}".tar.gz + + diff --git a/debian_iso_image.inc b/debian_iso_image.inc index 485a05541..8a429b3e0 100644 --- a/debian_iso_image.inc +++ b/debian_iso_image.inc @@ -301,6 +301,9 @@ puppet-dnsmasq #puppet-drbd-0.5.2 puppet-drbd +#puppet-hash2stuff +puppet-hash2stuff + #puppet-etcd-1.12.3 puppet-module-cristifalcas-etcd diff --git a/debian_pkg_dirs b/debian_pkg_dirs index e514b5ffa..438aac600 100644 --- a/debian_pkg_dirs +++ b/debian_pkg_dirs @@ -32,6 +32,7 @@ config/puppet-modules/puppetlabs-mysql-8.1.0 config/puppet-modules/puppetlabs-postgresql-8.0.0 config/puppet-modules/puppetlabs-stdlib-5.0.0 config/puppet-modules/puppet-ldap +config/puppet-modules/puppet-hash2stuff config/puppet-modules/puppet-lvm-1.4.0 config/puppet-modules/puppet-network config/puppet-modules/puppet-puppi