diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/changelog b/config/puppet-modules/puppet-network/debian/deb_folder/changelog new file mode 100644 index 000000000..f10309ac6 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +puppet-network (0.9.1-1) unstable; urgency=medium + + * Initial release + + -- Dan Voiculeasa Wed, 08 Sep 2021 11:50:43 +0000 diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/control b/config/puppet-modules/puppet-network/debian/deb_folder/control new file mode 100644 index 000000000..ef5001c1f --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/control @@ -0,0 +1,19 @@ +Source: puppet-network +Section: admin +Priority: optional +Maintainer: StarlingX Developers +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.4.1 +Homepage: https://www.starlingx.io + +Package: puppet-network +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + puppet, + puppet-boolean, + puppet-module-adrienthebo-filemapper, + puppet-module-camptocamp-kmod, + puppet-module-puppetlabs-stdlib +Description: Puppet module named puppet-boolean + A Puppet module to manage non volatile network and route configuration diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/copyright b/config/puppet-modules/puppet-network/debian/deb_folder/copyright new file mode 100644 index 000000000..e84a47369 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Upstream-Name: puppet-network +Upstream-Contact: https://github.com/voxpupuli +Source: https://github.com/voxpupuli/puppet-network +Files: * +Copyright: (C) 2012-2018 https://github.com/voxpupuli/ +License: Apache-2 + +Upstream-Name: puppet-network +Upstream-Contact: StarlingX Developers +Source: https://opendev.org/starlingx/integ/src/branch/master/config/puppet-modules/puppet-network +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-network/debian/deb_folder/puppet-network.install b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.install new file mode 100644 index 000000000..5a6f5281b --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.install @@ -0,0 +1,6 @@ +lib usr/share/puppet/modules.available/puppet-network +LICENSE usr/share/puppet/modules.available/puppet-network +manifests usr/share/puppet/modules.available/puppet-network +metadata.json usr/share/puppet/modules.available/puppet-network +spec usr/share/puppet/modules.available/puppet-network +templates usr/share/puppet/modules.available/puppet-network diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.postinst b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.postinst new file mode 100644 index 000000000..f33651837 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.postinst @@ -0,0 +1,13 @@ +#!/bin/sh +# see: dh_installdeb(1) + +set -e + +if [ "${1}" = "configure" ] ; then + update-alternatives --install /usr/share/puppet/modules/network puppet-module-network \ + /usr/share/puppet/modules.available/puppet-network 500 +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.postrm b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.postrm new file mode 100644 index 000000000..4fca33b18 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.postrm @@ -0,0 +1,13 @@ +#!/bin/sh +# see: dh_installdeb(1) + +set -e + +if [ "${1}" = "remove" ] || [ "${1}" = "disappear" ]; then + update-alternatives --remove puppet-module-network \ + /usr/share/puppet/modules.available/puppet-network +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.prerm b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.prerm new file mode 100644 index 000000000..34e6be5d0 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/puppet-network.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-network \ + /usr/share/puppet/modules.available/puppet-network +fi + +#DEBHELPER# + +exit 0 diff --git a/config/puppet-modules/puppet-network/debian/deb_folder/rules b/config/puppet-modules/puppet-network/debian/deb_folder/rules new file mode 100755 index 000000000..f00dbc24f --- /dev/null +++ b/config/puppet-modules/puppet-network/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-network/debian/deb_folder/source/format b/config/puppet-modules/puppet-network/debian/deb_folder/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/config/puppet-modules/puppet-network/debian/meta_data.yaml b/config/puppet-modules/puppet-network/debian/meta_data.yaml new file mode 100644 index 000000000..6dde500c1 --- /dev/null +++ b/config/puppet-modules/puppet-network/debian/meta_data.yaml @@ -0,0 +1,10 @@ +--- +debname: puppet-network +debver: 0.9.1-1 +dl_path: + name: puppet-network-0.9.1-1.tar.gz + url: https://codeload.github.com/voxpupuli/puppet-network/tar.gz/10545c7a49b4878aa244424eb14b24e7450dc283 + md5sum: f98a5b2ebb111e8c140417a764048a3e +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true