Merge "Add puppet package hash2stuff"
This commit is contained in:
commit
5e9b56a96d
@ -0,0 +1,5 @@
|
||||
puppet-hash2stuff (1.2.1-0) unstable; urgency=medium
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Andre Kantek <andrefernandozanella.kantek@windriver.com> Wed, 25 Apr 2023 11:50:43 +0000
|
@ -0,0 +1,13 @@
|
||||
Source: puppet-hash2stuff
|
||||
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-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
|
@ -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 <starlingx-discuss@lists.starlingx.io>
|
||||
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'.
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
7
config/puppet-modules/puppet-hash2stuff/debian/deb_folder/rules
Executable file
7
config/puppet-modules/puppet-hash2stuff/debian/deb_folder/rules
Executable 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 $@
|
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
@ -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
|
11
config/puppet-modules/puppet-hash2stuff/puppet_downloader.sh
Executable file
11
config/puppet-modules/puppet-hash2stuff/puppet_downloader.sh
Executable file
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user