| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 8.25.0 | 7 | ~amd64 ~arm64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd unpacker tmpfiles
DESCRIPTION="A community implementation of Puppet, an automated administrative engine for your Linux, Unix, and Windows systems"
HOMEPAGE="https://voxpupuli.org/openvox/"
SRC_URI="
amd64? ( https://artifacts.voxpupuli.org/${PN}/${PV}/${PN}_${PV}-1%2Bdebian13_amd64.deb )
arm64? ( https://artifacts.voxpupuli.org/${PN}/${PV}/${PN}_${PV}-1%2Bdebian13_arm64.deb )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="puppetdb selinux"
RESTRICT="strip"
# virtual/libcrypt:= is in here despite being a pre-built package
# to ensure that the has_version logic for the symlink doesn't become stale
CDEPEND="!app-admin/puppet
!app-admin/puppet-agent
!dev-ruby/hiera
!dev-ruby/facter
app-emulation/virt-what
acct-user/puppet
acct-group/puppet
virtual/libcrypt:="
DEPEND="${CDEPEND}"
RDEPEND="${CDEPEND}
app-portage/eix
sys-apps/dmidecode
sys-libs/libselinux
sys-libs/glibc
sys-libs/readline:0/8
sys-libs/libxcrypt[compat]
sys-libs/ncurses:0[tinfo]
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
S=${WORKDIR}
QA_PREBUILT="*"
src_install() {
# conf.d
doconfd etc/default/puppet
# puppet itself
insinto /etc/puppetlabs
doins -r etc/puppetlabs/*
# logdir for systemd
keepdir var/log/puppetlabs/puppet/
chmod 0750 var/log/puppetlabs/puppet/
# the rest
insinto /opt
dodir opt/puppetlabs/puppet/cache
doins -r opt/*
fperms 0750 /opt/puppetlabs/puppet/cache
# init
newinitd "${FILESDIR}/openvox.initd2" puppet
systemd_dounit lib/systemd/system/puppet.service
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
# symlinks
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
# Handling of the path to the crypt library during the ongoing migration
# from glibc[crypt] to libxcrypt
# https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html
if has_version "sys-libs/glibc[crypt]"; then
local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1'
else
local crypt_target='../../../../usr/lib/libcrypt.so.1'
fi
dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1
}
pkg_postinst() {
tmpfiles_process puppet-agent.conf
}
!app-admin/puppet !app-admin/puppet-agent !dev-ruby/hiera !dev-ruby/facter app-emulation/virt-what acct-user/puppet acct-group/puppet virtual/libcrypt:=
!app-admin/puppet !app-admin/puppet-agent !dev-ruby/hiera !dev-ruby/facter app-emulation/virt-what acct-user/puppet acct-group/puppet virtual/libcrypt:= app-portage/eix sys-apps/dmidecode sys-libs/libselinux sys-libs/glibc sys-libs/readline:0/8 sys-libs/libxcrypt[compat] sys-libs/ncurses:0[tinfo] selinux? ( sys-libs/libselinux[ruby] sec-policy/selinux-puppet ) puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | openvox-agent_8.25.0-1%2Bdebian13_amd64.deb | 26435020 bytes | https://artifacts.voxpupuli.org/openvox-agent/8.25.0/openvox-agent_8.25.0-1%2Bdebian13_amd64.deb |
| DIST | openvox-agent_8.25.0-1%2Bdebian13_arm64.deb | 26967182 bytes | https://artifacts.voxpupuli.org/openvox-agent/8.25.0/openvox-agent_8.25.0-1%2Bdebian13_arm64.deb |