From 1ede634e04660bcbab588c9077e7b51651f23683 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 16 Jun 2020 17:23:20 +0200 Subject: [PATCH 1/7] Initial packaging. --- debian/changelog | 5 ++++ debian/control | 33 +++++++++++++++++++++ debian/copyright | 24 +++++++++++++++ debian/puppet-module-etcddiscovery.install | 3 ++ debian/puppet-module-etcddiscovery.postinst | 11 +++++++ debian/puppet-module-etcddiscovery.postrm | 11 +++++++ debian/puppet-module-etcddiscovery.prerm | 11 +++++++ debian/rules | 16 ++++++++++ debian/source/format | 1 + 9 files changed, 115 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/puppet-module-etcddiscovery.install create mode 100755 debian/puppet-module-etcddiscovery.postinst create mode 100755 debian/puppet-module-etcddiscovery.postrm create mode 100755 debian/puppet-module-etcddiscovery.prerm create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2e8775b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +puppet-module-etcddiscovery (0.1.0-1) unstable; urgency=medium + + * Initial release. (Closes: #962957) + + -- Thomas Goirand Tue, 16 Jun 2020 16:57:58 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e53974f --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: puppet-module-etcddiscovery +Section: admin +Priority: optional +Maintainer: Debian OpenStack +Uploaders: + Thomas Goirand , +Build-Depends: + debhelper-compat (= 11), + openstack-pkg-tools (>= 99~), + python3-all, + python3-pbr, + python3-setuptools, +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery +Vcs-Git: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery.git +Homepage: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery + +Package: puppet-module-etcddiscovery +Architecture: all +Depends: + puppet, + puppet-module-openstacklib (>= 16.3.0), + puppet-module-puppetlabs-inifile, + puppet-module-puppetlabs-stdlib, + ${misc:Depends}, +Description: Puppet module for Etcd-discovery service + Puppet lets you centrally manage every important aspect of your system using a + cross-platform specification language that manages all the separate elements + normally aggregated in different files, like users, cron jobs, and hosts, + along with obviously discrete elements like packages, services, and files. + . + This module manages both the installation and configuration of OpenStack + Etcd-discovery. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b65ffb7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: puppet-etcddiscovery +Upstream-Contact: Thomas Goirand +Source: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery + +Files: * +Copyright: (c) 2020, Thomas Goirand +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-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/debian/puppet-module-etcddiscovery.install b/debian/puppet-module-etcddiscovery.install new file mode 100644 index 0000000..ce49e07 --- /dev/null +++ b/debian/puppet-module-etcddiscovery.install @@ -0,0 +1,3 @@ +lib usr/share/puppet/modules.available/etcddiscovery +manifests usr/share/puppet/modules.available/etcddiscovery +metadata.json usr/share/puppet/modules.available/etcddiscovery diff --git a/debian/puppet-module-etcddiscovery.postinst b/debian/puppet-module-etcddiscovery.postinst new file mode 100755 index 0000000..fa08ff5 --- /dev/null +++ b/debian/puppet-module-etcddiscovery.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "${1}" = "configure" ] ; then + update-alternatives --install /usr/share/puppet/modules/etcddiscovery puppet-module-etcddiscovery /usr/share/puppet/modules.available/etcddiscovery 500 +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/puppet-module-etcddiscovery.postrm b/debian/puppet-module-etcddiscovery.postrm new file mode 100755 index 0000000..40bde12 --- /dev/null +++ b/debian/puppet-module-etcddiscovery.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "${1}" = "remove" ] || [ "${1}" = "disappear" ]; then + update-alternatives --remove puppet-module-etcddiscovery /usr/share/puppet/modules.available/etcddiscovery +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/puppet-module-etcddiscovery.prerm b/debian/puppet-module-etcddiscovery.prerm new file mode 100755 index 0000000..dea5d21 --- /dev/null +++ b/debian/puppet-module-etcddiscovery.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "${1}" = "remove" ] || [ "${1}" = "upgrade" ] || [ "${1}" = "deconfigure" ] ; then + update-alternatives --remove puppet-module-etcddiscovery /usr/share/puppet/modules.available/etcddiscovery +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d4ffc34 --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +UPSTREAM_GIT := https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery.git +include /usr/share/openstack-pkg-tools/pkgos.make + +%: + dh $@ + +override_dh_auto_clean: + echo "Do nothing..." + +override_dh_auto_install: + echo "Don't do anything here please" + +override_dh_auto_build: + echo "Don't do anything here please" diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- GitLab From f1db70143961feb4740a2f1611137bc96e437e57 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 16 Jun 2020 17:41:37 +0200 Subject: [PATCH 2/7] Packaging 0.1.1 --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2e8775b..d657d6a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -puppet-module-etcddiscovery (0.1.0-1) unstable; urgency=medium +puppet-module-etcddiscovery (0.1.1-1) unstable; urgency=medium * Initial release. (Closes: #962957) -- GitLab From 647f9b28c8c9a851e47c698268ae2a0f14bdf463 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Mon, 31 Aug 2020 11:29:49 +0200 Subject: [PATCH 3/7] Fix puppet-module-openstacklib depends with no version. --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index e53974f..e844227 100644 --- a/debian/control +++ b/debian/control @@ -19,7 +19,7 @@ Package: puppet-module-etcddiscovery Architecture: all Depends: puppet, - puppet-module-openstacklib (>= 16.3.0), + puppet-module-openstacklib, puppet-module-puppetlabs-inifile, puppet-module-puppetlabs-stdlib, ${misc:Depends}, -- GitLab From ab571a212d999c42d43f44e111a4130dd337b32e Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 28 Oct 2020 19:10:24 +0100 Subject: [PATCH 4/7] Re-upload source-only. --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index d657d6a..6dc2cc3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +puppet-module-etcddiscovery (0.1.1-2) unstable; urgency=medium + + * Re-upload source-only. + + -- Thomas Goirand Wed, 28 Oct 2020 19:10:00 +0100 + puppet-module-etcddiscovery (0.1.1-1) unstable; urgency=medium * Initial release. (Closes: #962957) -- GitLab From 2ed2978188e3e995db3bd6793095afdf982c9002 Mon Sep 17 00:00:00 2001 From: Debian Janitor Date: Sat, 11 Sep 2021 04:51:47 +0000 Subject: [PATCH 5/7] Bump debhelper from old 11 to 13. Changes-By: lintian-brush Fixes: lintian: package-uses-old-debhelper-compat-version See-also: https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html --- debian/changelog | 6 ++++++ debian/control | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6dc2cc3..900f871 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +puppet-module-etcddiscovery (0.1.1-3) UNRELEASED; urgency=medium + + * Bump debhelper from old 11 to 13. + + -- Debian Janitor Sat, 11 Sep 2021 04:51:47 -0000 + puppet-module-etcddiscovery (0.1.1-2) unstable; urgency=medium * Re-upload source-only. diff --git a/debian/control b/debian/control index e844227..1909637 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Debian OpenStack Uploaders: Thomas Goirand , Build-Depends: - debhelper-compat (= 11), + debhelper-compat (= 13), openstack-pkg-tools (>= 99~), python3-all, python3-pbr, -- GitLab From 823e6566e88787a0ca0fa86cb91b3adbdd1da969 Mon Sep 17 00:00:00 2001 From: Debian Janitor Date: Sat, 11 Sep 2021 04:51:51 +0000 Subject: [PATCH 6/7] Set upstream metadata fields: Repository, Repository-Browse. Changes-By: lintian-brush Fixes: lintian: upstream-metadata-file-is-missing See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html Fixes: lintian: upstream-metadata-missing-repository See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html --- debian/changelog | 1 + debian/upstream/metadata | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 debian/upstream/metadata diff --git a/debian/changelog b/debian/changelog index 900f871..e21fcf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ puppet-module-etcddiscovery (0.1.1-3) UNRELEASED; urgency=medium * Bump debhelper from old 11 to 13. + * Set upstream metadata fields: Repository, Repository-Browse. -- Debian Janitor Sat, 11 Sep 2021 04:51:47 -0000 diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..ec341b4 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,3 @@ +--- +Repository: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery.git +Repository-Browse: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery -- GitLab From eeb474a8eaafb875ae2918d4d718134be13186c2 Mon Sep 17 00:00:00 2001 From: Debian Janitor Date: Sat, 11 Sep 2021 04:51:52 +0000 Subject: [PATCH 7/7] Update standards version to 4.5.1, no changes needed. Changes-By: lintian-brush Fixes: lintian: out-of-date-standards-version See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html --- debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e21fcf0..907ea84 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ puppet-module-etcddiscovery (0.1.1-3) UNRELEASED; urgency=medium * Bump debhelper from old 11 to 13. * Set upstream metadata fields: Repository, Repository-Browse. + * Update standards version to 4.5.1, no changes needed. -- Debian Janitor Sat, 11 Sep 2021 04:51:47 -0000 diff --git a/debian/control b/debian/control index 1909637..d511279 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Build-Depends: python3-all, python3-pbr, python3-setuptools, -Standards-Version: 4.5.0 +Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery Vcs-Git: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery.git Homepage: https://salsa.debian.org/openstack-team/puppet/puppet-module-etcddiscovery -- GitLab