Add debian packaging for puppet-manifests
Add debian packaging infrastructure for puppet-manifests to build a debian package. Story: 2009101 Task: 43317 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I0252ceb4a4179834c0b0833a599bb8a881523e59
This commit is contained in:
parent
cdb288d620
commit
27a4a715af
5
puppet-manifests/debian/deb_folder/changelog
Normal file
5
puppet-manifests/debian/deb_folder/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
puppet-manifests (1.0.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Chuck Short <charles.short@windriver.com> Tue, 14 Sep 2021 09:44:13 -0400
|
56
puppet-manifests/debian/deb_folder/control
Normal file
56
puppet-manifests/debian/deb_folder/control
Normal file
@ -0,0 +1,56 @@
|
||||
Source: puppet-manifests
|
||||
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-manifests
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, puppet,
|
||||
puppet-dcorch,
|
||||
puppet-dcmanager,
|
||||
puppet-mtce,
|
||||
puppet-nfv,
|
||||
puppet-patching,
|
||||
puppet-sysinv,
|
||||
puppet-sshd,
|
||||
puppet-smapi,
|
||||
puppet-fm,
|
||||
puppet-dcdbsync,
|
||||
puppet-module-barbican,
|
||||
puppet-module-ceph,
|
||||
puppet-module-horizon,
|
||||
puppet-module-keystone,
|
||||
puppet-module-openstacklib,
|
||||
puppet-module-vswitch,
|
||||
puppet-module-saz-memcached,
|
||||
puppet-module-puppetlabs-concat,
|
||||
puppet-module-puppetlabs-haproxy,
|
||||
puppet-module-puppetlabs-inifile,
|
||||
puppet-lvm,
|
||||
puppet-module-puppetlabs-postgresql,
|
||||
puppet-module-puppetlabs-rabbitmq,
|
||||
puppet-module-puppetlabs-stdlib,
|
||||
puppet-module-duritong-sysctl,
|
||||
puppet-module-cristifalcas-etcd,
|
||||
puppet-drbd,
|
||||
puppet-boolean,
|
||||
puppet-dnsmasq,
|
||||
puppet-puppi,
|
||||
puppet-module-puppetlabs-firewall,
|
||||
puppet-module-adrienthebo-filemapper,
|
||||
puppet-module-camptocamp-kmod,
|
||||
puppet-ldap,
|
||||
puppet-network,
|
||||
puppet-nslcd,
|
||||
puppet-module-voxpupuli-collectd,
|
||||
python3-ruamel.yaml
|
||||
Description: Puppet configuration and manifests
|
||||
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.
|
||||
.
|
||||
Puppet configuration and manifests.
|
42
puppet-manifests/debian/deb_folder/copyright
Normal file
42
puppet-manifests/debian/deb_folder/copyright
Normal file
@ -0,0 +1,42 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: stx-puppet
|
||||
Source: https://opendev.org/starlingx/stx-puppet
|
||||
|
||||
Files: *
|
||||
Copyright: (c) 2013-2021 Wind River Systems, Inc
|
||||
Others (See individual files for more details)
|
||||
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
|
||||
.
|
||||
https://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'.
|
||||
|
||||
# If you want to use GPL v2 or later for the /debian/* files use
|
||||
# the following clauses, or change it to suit. Delete these two lines
|
||||
Files: debian/*
|
||||
Copyright: 2021 Wind River Systems, Inc
|
||||
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
|
||||
.
|
||||
https://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'.
|
4
puppet-manifests/debian/deb_folder/install
Normal file
4
puppet-manifests/debian/deb_folder/install
Normal file
@ -0,0 +1,4 @@
|
||||
usr/share/puppet-manifests/config/hiera.yaml
|
||||
etc/puppet/*
|
||||
usr/share/puppet/*
|
||||
usr/local/bin/*
|
@ -0,0 +1,2 @@
|
||||
dir-in-usr-local
|
||||
file-in-usr-local usr
|
17
puppet-manifests/debian/deb_folder/rules
Executable file
17
puppet-manifests/debian/deb_folder/rules
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/make -f
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
override_dh_auto_install:
|
||||
override_dh_usrlocal:
|
||||
echo "Do Nothing"
|
||||
|
||||
override_dh_install:
|
||||
$(MAKE) install \
|
||||
BINDIR=$(CURDIR)/debian/tmp/usr/local/bin \
|
||||
CONFIGDIR=$(CURDIR)/debian/tmp/etc/puppet \
|
||||
MODULEDIR=$(CURDIR)/debian/tmp/usr/share/puppet/modules
|
||||
dh_install
|
1
puppet-manifests/debian/deb_folder/source/format
Normal file
1
puppet-manifests/debian/deb_folder/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
7
puppet-manifests/debian/meta_data.yaml
Normal file
7
puppet-manifests/debian/meta_data.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
debname: puppet-manifests
|
||||
debver: 1.0.0-1
|
||||
src_path: src
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
Loading…
Reference in New Issue
Block a user