Skip to content

Commit

Permalink
app-metrics/node_exporter: style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Jan 19, 2024
1 parent 86a0e43 commit 9e27050
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app-metrics/node_exporter/node_exporter-1.7.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ LICENSE+=" BSD BSD-2 MIT"
SLOT="0"
IUSE="selinux systemd"

RDEPEND="
COMMON_DEPEND="
acct-group/node_exporter
acct-user/node_exporter
selinux? ( sec-policy/selinux-node_exporter )
systemd? ( sys-apps/systemd )
"
DEPEND="${RDEPEND}"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
BDEPEND=">=dev-util/promu-0.3.0"
PATCHES=(
"${FILESDIR}"/01-default-settings-1.7.0.patch
Expand Down Expand Up @@ -65,14 +66,13 @@ src_test() {

src_install() {
dosbin "${PN}"
dodoc example-rules.yml *.md
doman "${PN}".1
systemd_newunit "${FILESDIR}"/node_exporter-1.7.0.service node_exporter.service
newinitd "${FILESDIR}"/${PN}.initd-1 ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
insinto /etc/logrotate.d
newins "${FILESDIR}"/node_exporter-1.7.0.logrotate "${PN}"
keepdir /var/lib/node_exporter /var/log/node_exporter
fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter

doman "${PN}".1
dodoc example-rules.yml *.md
}

0 comments on commit 9e27050

Please sign in to comment.