centreon-plugins/nrpe/packaging/centreon-nrpe3-daemon.yaml

93 lines
2.2 KiB
YAML
Raw Normal View History

name: "centreon-nrpe3-daemon"
arch: "amd64"
platform: "linux"
version_schema: "none"
version: "4.1.0"
release: "${RELEASE}${DIST}"
section: "default"
priority: "optional"
maintainer: "Centreon <contact@centreon.com>"
description: |
The centreon-nrpe packages contains the Nagios Remote Plug-ins Executor.
Daemon which can execute predefined commands on the remote host.
Commit: @COMMIT_HASH@
vendor: "Centreon"
homepage: "https://centreon.com"
license: "GPLv2+"
contents:
- src: "../../nrpe-src/src/nrpe"
dst: "/usr/sbin/centreon-nrpe3"
- src: "../../nrpe-src/sample-config/nrpe.cfg"
dst: "/etc/nrpe/centreon-nrpe3.cfg"
type: config|noreplace
file_info:
mode: 0644
- src: "files/nrpe3.sysconfig"
dst: "/etc/sysconfig/centreon-nrpe3"
packager: rpm
file_info:
mode: 0644
- src: "files/nrpe3.sysconfig"
dst: "/etc/default/centreon-nrpe3"
packager: deb
file_info:
mode: 0644
- src: "files/nrpe3.rpm.service"
dst: "/lib/systemd/system/centreon-nrpe3.service"
packager: rpm
file_info:
mode: 0644
- src: "files/nrpe3.deb.service"
dst: "/lib/systemd/system/centreon-nrpe3.service"
packager: deb
file_info:
mode: 0644
- dst: "/var/log/nrpe"
type: dir
file_info:
mode: 0755
owner: centreon-engine
group: centreon-engine
- dst: "/var/log/nrpe/centplugins"
type: dir
file_info:
mode: 0755
owner: centreon-engine
group: centreon-engine
scripts:
preinstall: ./scripts/centreon-nrpe3-daemon-preinstall.sh
postinstall: ./scripts/centreon-nrpe3-daemon-postinstall.sh
preremove: ./scripts/centreon-nrpe3-daemon-preremove.sh
overrides:
rpm:
replaces:
- centreon-nrpe3-daemon-debuginfo
- centreon-nrpe3-daemon-debugsource
conflicts:
- centreon-nrpe3-daemon-debuginfo
- centreon-nrpe3-daemon-debugsource
provides:
- centreon-nrpe3-daemon-debuginfo
- centreon-nrpe3-daemon-debugsource
deb:
replaces:
- centreon-nrpe3-daemon-dbgsym
conflicts:
- centreon-nrpe3-daemon-dbgsym
provides:
- centreon-nrpe3-daemon-dbgsym
rpm:
summary: Nagios Remote Plugins Execution daemon
signature:
key_file: ${RPM_SIGNING_KEY_FILE}
key_id: ${RPM_SIGNING_KEY_ID}