centreon-plugins/connectors/vmware/packaging/centreon-plugin-virtualizat...

114 lines
3.1 KiB
YAML

name: "centreon-plugin-Virtualization-VMWare-daemon"
arch: "all"
platform: "linux"
version_schema: "none"
version: "${VERSION}"
release: "${RELEASE}${DIST}"
section: "default"
priority: "optional"
maintainer: "Centreon <contact@centreon.com>"
description: |
Perl daemon to monitor VSphere Infrastructure
Commit: @COMMIT_HASH@
vendor: "Centreon"
homepage: "https://centreon.com"
license: "Apache-2.0"
replaces:
- ces-plugins-Virtualization-VMWare-daemon
- centreon-plugin-Virtualisation-VMWare-daemon
conflicts:
- ces-plugins-Virtualization-VMWare-daemon
- centreon-plugin-Virtualisation-VMWare-daemon
provides:
- ces-plugins-Virtualization-VMWare-daemon
- centreon-plugin-Virtualisation-VMWare-daemon
contents:
- src: "../src/centreon/vmware"
dst: "/usr/share/perl5/vendor_perl/centreon/vmware"
packager: rpm
- src: "../src/centreon/vmware"
dst: "/usr/share/perl5/centreon/vmware"
packager: deb
- src: "../src/centreon/script/centreon_vmware.pm"
dst: "/usr/share/perl5/vendor_perl/centreon/script/centreon_vmware.pm"
packager: rpm
- src: "../src/centreon/script/centreon_vmware.pm"
dst: "/usr/share/perl5/centreon/script/centreon_vmware.pm"
packager: deb
- src: "../src/centreon/script/centreonvault.pm"
dst: "/usr/share/perl5/vendor_perl/centreon/script/centreonvault.pm"
packager: rpm
- src: "../src/centreon/script/centreonvault.pm"
dst: "/usr/share/perl5/centreon/script/centreonvault.pm"
packager: deb
- src: "../src/centreon/script/centreon_vmware_convert_config_file"
dst: "/usr/bin/centreon_vmware_convert_config_file"
file_info:
mode: 0755
- src: "../src/centreon_vmware.pl"
dst: "/usr/bin/centreon_vmware.pl"
file_info:
mode: 0755
- src: "redhat/centreon_vmware-systemd"
dst: "/etc/systemd/system/centreon_vmware.service"
file_info:
mode: 0755
packager: rpm
- src: "debian/centreon_vmware-systemd"
dst: "/lib/systemd/system/centreon_vmware.service"
file_info:
mode: 0755
packager: deb
- src: "redhat/centreon_vmware-sysconfig"
dst: "/etc/sysconfig/centreon_vmware"
type: config|noreplace
packager: rpm
- src: "debian/centreon_vmware-default"
dst: "/etc/default/centreon_vmware"
type: config|noreplace
packager: deb
- src: "config/centreon_vmware-conf.json"
dst: "/etc/centreon/centreon_vmware.json"
type: config|noreplace
scripts:
postinstall: ./scripts/postinstall.sh
overrides:
rpm:
depends:
- perl(Crypt::OpenSSL::AES)
- perl(IO::Socket::INET6)
- perl(JSON::XS)
- perl(LWP::Protocol::https)
- perl(Text::Template)
- perl(ZMQ::Constants)
- perl(ZMQ::LibZMQ4)
- perl-Net-Curl
- perl-VMware-vSphere >= 5.1
deb:
depends:
- libcrypt-openssl-aes-perl
- libio-socket-inet6-perl
- libjson-xs-perl
- liblwp-protocol-https-perl
- libnet-curl-perl
- libtext-template-perl
- libzmq-constants-perl
- libzmq-libzmq4-perl
- perl-vmware-vsphere
rpm:
signature:
key_file: ${RPM_SIGNING_KEY_FILE}
key_id: ${RPM_SIGNING_KEY_ID}