Merge "Add debian package for puppet-puppi module"

This commit is contained in:
Zuul 2021-09-28 18:11:14 +00:00 committed by Gerrit Code Review
commit ca10b97197
10 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,5 @@
puppet-puppi (2.2.11-0) unstable; urgency=medium
* Initial release
-- Dan Voiculeasa <dan.voiculeasa@windriver.com> Wed, 08 Sep 2021 11:50:43 +0000

View File

@ -0,0 +1,13 @@
Source: puppet-puppi
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-puppi
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, puppet
Description: Puppet module named puppet-puppi
A Puppet module to provide puppet knowledge to CLI

View File

@ -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 <starlingx-discuss@lists.starlingx.io>
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'.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View 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 $@

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -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