commit: e840740a40e114b0dd80fc4b96753b2d58723962 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Wed Feb 10 16:51:21 2021 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu Feb 11 20:28:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e840740a
app-admin/puppet-agent: remove unused files Closes: https://github.com/gentoo/gentoo/pull/19406 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../puppet-agent/files/puppet-agent.conf.tmpfilesd | 1 - app-admin/puppet-agent/files/puppet.initd | 29 ---------------------- app-admin/puppet-agent/files/puppet.service | 14 ----------- 3 files changed, 44 deletions(-) diff --git a/app-admin/puppet-agent/files/puppet-agent.conf.tmpfilesd b/app-admin/puppet-agent/files/puppet-agent.conf.tmpfilesd deleted file mode 100644 index 42d08211194..00000000000 --- a/app-admin/puppet-agent/files/puppet-agent.conf.tmpfilesd +++ /dev/null @@ -1 +0,0 @@ -d /var/run/puppetlabs 0755 root root - diff --git a/app-admin/puppet-agent/files/puppet.initd b/app-admin/puppet-agent/files/puppet.initd deleted file mode 100644 index 1c366bcf964..00000000000 --- a/app-admin/puppet-agent/files/puppet.initd +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PUPPET_PID_DIR="${PUPPET_PID_DIR:-/var/run/puppet}" - -pidfile="${PUPPET_PID_DIR}/puppet.pid" -PUPPET_LOG_DIR="/var/log/puppetlabs/puppet" - -command="/usr/bin/puppet" -extra_started_commands="reload" - -command_args="agent --pidfile ${pidfile} --confdir /etc/puppetlabs/puppet ${PUPPET_EXTRA_OPTS}" - -depend() { - need localmount - use dns logger puppetserver netmount nfsmount -} - -start_pre() { - checkpath --directory --owner puppet:puppet "${PUPPET_PID_DIR}" - checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR} -} - -reload() { - ebegin "Reloading $RC_SVCNAME" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} diff --git a/app-admin/puppet-agent/files/puppet.service b/app-admin/puppet-agent/files/puppet.service deleted file mode 100644 index 61b03134b33..00000000000 --- a/app-admin/puppet-agent/files/puppet.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Puppet agent -Wants=basic.target -After=basic.target network.target - -[Service] -EnvironmentFile=-/etc/sysconfig/puppetagent -EnvironmentFile=-/etc/sysconfig/puppet -EnvironmentFile=-/etc/default/puppet -ExecStart=/opt/puppetlabs/puppet/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize -KillMode=process - -[Install] -WantedBy=multi-user.target
