diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/changelog b/config/puppet-modules/puppet-puppi/debian/deb_folder/changelog new file mode 100644 index 000000000..d9dcc40d8 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +puppet-puppi (2.2.11-0) unstable; urgency=medium + + * Initial release + + -- Dan Voiculeasa Wed, 08 Sep 2021 11:50:43 +0000 diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/control b/config/puppet-modules/puppet-puppi/debian/deb_folder/control new file mode 100644 index 000000000..fa3bc9eaa --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/control @@ -0,0 +1,13 @@ +Source: puppet-puppi +Section: admin +Priority: optional +Maintainer: StarlingX Developers +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.4.1 +Homepage: https://www.starlingx.io + +Package: puppet-puppi +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, puppet +Description: Puppet module named puppet-puppi + A Puppet module to provide puppet knowledge to CLI diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/copyright b/config/puppet-modules/puppet-puppi/debian/deb_folder/copyright new file mode 100644 index 000000000..f1a8a2ef2 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Upstream-Name: puppi +Upstream-Contact: Alessandro Franceschi / Lab42 info@lab42.it +Source: https://github.com/example42/puppi +Files: * +Copyright: (C) 2013 Alessandro Franceschi / Lab42 +License: Apache-2 + +Upstream-Name: puppet-puppi +Upstream-Contact: StarlingX Developers +Source: https://opendev.org/starlingx/integ/src/branch/master/config/puppet-modules/puppet-puppi +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'. diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.install b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.install new file mode 100644 index 000000000..07b180359 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.install @@ -0,0 +1,7 @@ +files usr/share/puppet/modules.available/puppet-puppi +lib usr/share/puppet/modules.available/puppet-puppi +LICENSE usr/share/puppet/modules.available/puppet-puppi +manifests usr/share/puppet/modules.available/puppet-puppi +metadata.json usr/share/puppet/modules.available/puppet-puppi +spec usr/share/puppet/modules.available/puppet-puppi +templates usr/share/puppet/modules.available/puppet-puppi diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.postinst b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.postinst new file mode 100644 index 000000000..092ec6722 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.postinst @@ -0,0 +1,13 @@ +#!/bin/sh +# see: dh_installdeb(1) + +set -e + +if [ "${1}" = "configure" ] ; then + update-alternatives --install /usr/share/puppet/modules/puppi puppet-module-puppi \ + /usr/share/puppet/modules.available/puppet-puppi 500 +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.postrm b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.postrm new file mode 100644 index 000000000..e3c744733 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.postrm @@ -0,0 +1,13 @@ +#!/bin/sh +# see: dh_installdeb(1) + +set -e + +if [ "${1}" = "remove" ] || [ "${1}" = "disappear" ]; then + update-alternatives --remove puppet-module-puppi \ + /usr/share/puppet/modules.available/puppet-puppi +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.prerm b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.prerm new file mode 100644 index 000000000..08ae5f127 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/puppet-puppi.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-puppi \ + /usr/share/puppet/modules.available/puppet-puppi +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-puppi/debian/deb_folder/rules b/config/puppet-modules/puppet-puppi/debian/deb_folder/rules new file mode 100755 index 000000000..f00dbc24f --- /dev/null +++ b/config/puppet-modules/puppet-puppi/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-puppi/debian/deb_folder/source/format b/config/puppet-modules/puppet-puppi/debian/deb_folder/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/config/puppet-modules/puppet-puppi/debian/meta_data.yaml b/config/puppet-modules/puppet-puppi/debian/meta_data.yaml new file mode 100644 index 000000000..0cc039bc9 --- /dev/null +++ b/config/puppet-modules/puppet-puppi/debian/meta_data.yaml @@ -0,0 +1,10 @@ +--- +debname: puppet-puppi +debver: 2.2.11-0 +dl_path: + name: puppet-puppi-2.2.11-0.tar.gz + url: https://codeload.github.com/example42/puppi/tar.gz/829b1cd86e4c1e03fc5ae2a7673b6f2fa4a00b19 + md5sum: deb2e374258dca43045b603431bc4196 +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true