summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2022-01-22 18:55:04 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2022-01-22 18:59:06 -0600
commitefc725f253e8ab3fe090af2f66dbdcf55c5706be (patch)
tree54f9cf7889039c4a1e1c12cab13df40a77f0f2d5 /app-admin
parentdev-ruby/puppetdb-termini: 7.9.0 bump (diff)
downloadgentoo-efc725f253e8ab3fe090af2f66dbdcf55c5706be.tar.gz
gentoo-efc725f253e8ab3fe090af2f66dbdcf55c5706be.tar.bz2
gentoo-efc725f253e8ab3fe090af2f66dbdcf55c5706be.zip
app-admin/puppetdb: 7.9.0 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/puppetdb/Manifest1
-rw-r--r--app-admin/puppetdb/puppetdb-7.9.0.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest
index 31c27fb10373..521c2475df69 100644
--- a/app-admin/puppetdb/Manifest
+++ b/app-admin/puppetdb/Manifest
@@ -1,2 +1,3 @@
DIST puppetdb-7.7.0.tar.gz 48050200 BLAKE2B 67b0152b0d3219e21fd1f0c18f235f99ad5c566c2c24c24e442e511d3eb503265497de46c5fd2d414cda8827400ee50c628d2fe5287ee1a6e1c295dbc7f8cde3 SHA512 a8f67b9c587d285ddd530afe1d467eb1acb20f7a3deed6d1b951695575a4283c3f4c946c7263fd44962adf05f4466ae5eac33cbd6ca75ef8f9785b2e7be6afd7
DIST puppetdb-7.8.0.tar.gz 48110737 BLAKE2B e967c1dab15d5fc5a963baebbbb43d3bb3f0f46f1e318ca9547d7f5bcd0ba3b16068c1988844e2f2fd3128cb597b19d22585c70a157e3e453066f5930633ef79 SHA512 16d57e634d07eb804f524152d2faf2a729b0e42bbe0550573424669379d4634730951aff266093272e2b118399f2abb6563ee2a04104da9afbdb1163aa1d94c1
+DIST puppetdb-7.9.0.tar.gz 48143509 BLAKE2B bd08f4127cd68080c7c7f2b9acd571a2fd0e6af4cc36b920eca5e420a2149dbc1c5dcfbb5ac152730e88b0e751f5acd42c5e8c2457673ccbba26fc40258c07d5 SHA512 b24a3233a08fe80c5e3b78bc05262cefb27c6d307cbd8f98c74766157db72d15c0f114c5c3cccd7733b9bb99ff9c7f229b6625af5e7b2ce7b6d349322507654d
diff --git a/app-admin/puppetdb/puppetdb-7.9.0.ebuild b/app-admin/puppetdb/puppetdb-7.9.0.ebuild
new file mode 100644
index 000000000000..343b744bedeb
--- /dev/null
+++ b/app-admin/puppetdb/puppetdb-7.9.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd tmpfiles
+
+DESCRIPTION="PuppetDB collects data generated by Puppet"
+HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
+SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND+=">=virtual/jdk-1.8.0"
+DEPEND+="acct-user/puppetdb
+ acct-group/puppetdb"
+
+src_prepare() {
+ sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
+ sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
+ sed -i 's/sysconfig/conf\.d/g' install.sh || die
+ sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
+ sed -i 's/var\/run/run/g' install.sh || die
+ default
+}
+
+src_compile() {
+ einfo "not compiling"
+}
+
+src_install() {
+ dodir /opt/puppetlabs/server/data/puppetdb
+ insinto /opt/puppetlabs/server/apps/puppetdb
+ insopts -m0744
+ doins ext/ezbake-functions.sh
+ insopts -m0644
+ doins ext/ezbake.manifest
+ doins puppetdb.jar
+ insinto /etc/puppetlabs/puppetdb
+ doins ext/config/logback.xml
+ doins ext/config/bootstrap.cfg
+ doins ext/config/request-logging.xml
+ insinto /etc/puppetlabs/puppetdb/conf.d
+ doins ext/config/conf.d/jetty.ini
+ doins ext/config/conf.d/repl.ini
+ doins ext/config/conf.d/database.ini
+ doins ext/config/conf.d/config.ini
+ doins ext/config/conf.d/auth.conf
+ insopts -m0755
+ insinto /opt/puppetlabs/server/apps/puppetdb/scripts
+ doins install.sh
+ insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
+ doins ext/cli/foreground
+ doins ext/cli/ssl-setup
+ doins ext/cli/config-migration
+ doins ext/cli/foreground
+ doins ext/cli/anonymize
+ doins ext/cli/reload
+ doins ext/cli/start
+ doins ext/cli/stop
+ insinto /opt/puppetlabs/server/apps/puppetdb/bin
+ doins ext/bin/puppetdb
+ insopts -m0644
+ dodir /opt/puppetlabs/server/bin
+ dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
+ dodir /opt/puppetlabs/bin
+ dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
+ dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
+ # init type tasks
+ newconfd ext/default puppetdb
+ systemd_dounit ext/redhat/puppetdb.service
+ newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf
+ newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
+ # misc
+ insinto /etc/logrotate.d
+ newins ext/puppetdb.logrotate.conf puppetdb
+ fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
+ fperms -R 770 /opt/puppetlabs/server/data/puppetdb
+}
+
+pkg_postinst() {
+ tmpfiles_process puppetdb.conf
+
+ elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
+ elog
+ elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
+}