18922761a6
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
769 lines
32 KiB
RPMSpec
769 lines
32 KiB
RPMSpec
Summary: Titanuim Server Common Maintenance Package
|
|
Name: cgts-mtce-common
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: libssh2
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: json-c
|
|
BuildRequires: json-c-devel
|
|
BuildRequires: fm-common
|
|
BuildRequires: fm-common-dev
|
|
BuildRequires: openssl
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: libevent
|
|
BuildRequires: libevent-devel
|
|
BuildRequires: fm-mgr
|
|
BuildRequires: expect
|
|
BuildRequires: postgresql
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: guest-client-devel
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: cppcheck
|
|
Requires: util-linux
|
|
Requires: /bin/bash
|
|
Requires: /bin/systemctl
|
|
Requires: dpkg
|
|
Requires: time
|
|
Requires: cgts-mtce-common-rmon >= 1.0
|
|
Requires: libevent-2.0.so.5()(64bit)
|
|
Requires: expect
|
|
Requires: libfmcommon.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
|
|
Requires: fm-common >= 1.0
|
|
Requires: libamon.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: /bin/sh
|
|
Requires: cgts-mtce-common-pmon >= 1.0
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.14)(64bit)
|
|
Requires: libjson-c.so.2()(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librmonapi.so.1()(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: libevent >= 2.0.21
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libuuid.so.1()(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.4)(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libssh2.so.1()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
Requires: /usr/bin/expect
|
|
Requires: python-rtslib
|
|
|
|
%description
|
|
Titanium Cloud Host Maintenance services. A suite of daemons that provide
|
|
host maintainability and a high level of fault detection with automatic
|
|
notification and recovery.The Maintenance Service (mtcAgent/mtcClient)
|
|
manages hosts according to an abbreviated version of the CCITT X.731 ITU
|
|
specification. The Heartbeat Service (hbsAgent/hbsClient) adds fast failure
|
|
detection over the management and infstructure networks. The Process
|
|
Monitor service (pmond) add both passive and active process monitoring and
|
|
automatic recovery of stopped or killed processes. The File System Monitor
|
|
Service (fsmond) adds detection and reporting of local file system
|
|
problems. The Hardware Monitor Service (hwmond) adds present and predictive
|
|
hardware failure detection, reporting and recovery. The Resource Monitor
|
|
Service (rmond) adds resource monitoring with present and predictive
|
|
failure and overload detection and reporting. The Guest Services
|
|
(guestAgent/guestServer) daemons control access into and heartbeat of guest
|
|
VMs on the compute. The Host Watchdog (hostwd) daemon watches for errors in
|
|
pmond and logs system information on error. All of these maintenance
|
|
services improve MTTD of node failures as well as resource overload and out
|
|
of spec operating conditions that can reduce outage time through automated
|
|
notification and recovery thereby improving overall platform availability
|
|
for the customer.
|
|
|
|
%package -n cgts-mtce-common-pmon
|
|
Summary: Titanuim Server Maintenance Process Monitor Package
|
|
Group: base
|
|
BuildRequires: cppcheck
|
|
Requires: util-linux
|
|
Requires: /bin/bash
|
|
Requires: /bin/systemctl
|
|
Requires: dpkg
|
|
Requires: time
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: libfmcommon.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.7)(64bit)
|
|
Requires: fm-common >= 1.0
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: /bin/sh
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.14)(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.4)(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
Provides: libamon.so.1()(64bit)
|
|
|
|
%description -n cgts-mtce-common-pmon
|
|
Titanium Cloud Maintenance Process Monitor service (pmond) with
|
|
passive (pid), active (msg) and status (qry) process monitoring with
|
|
automatic recovery and failure reporting of registered failed processes.
|
|
|
|
%package -n cgts-mtce-common-rmon
|
|
Summary: Titanuim Server Maintenance Resource Monitor Package
|
|
Group: base
|
|
Requires: /bin/bash
|
|
Requires: util-linux
|
|
Requires: /bin/systemctl
|
|
Requires: dpkg
|
|
Requires: time
|
|
Requires: libjson-c.so.2()(64bit)
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: libevent-2.0.so.5()(64bit)
|
|
Requires: libfmcommon.so.1()(64bit)
|
|
Requires: librmonapi.so.1()(64bit)
|
|
Requires: fm-common >= 1.0
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: /bin/sh
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.14)(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: libevent >= 2.0.21
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libuuid.so.1()(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
Provides: librmonapi.so.1()(64bit)
|
|
|
|
%description -n cgts-mtce-common-rmon
|
|
Titanium Cloud Host Maintenance Resource Monitor Service (rmond) adds
|
|
threshold based monitoring with predictive severity level alarming for
|
|
out of tolerance utilization of critical resourses such as memory, cpu
|
|
file system, interface state, etc.
|
|
|
|
%package -n cgts-mtce-common-hwmon
|
|
Summary: Titanuim Server Maintenance Hardware Monitor Package
|
|
Group: base
|
|
Requires: dpkg
|
|
Requires: time
|
|
Requires: /bin/bash
|
|
Requires: libjson-c.so.2()(64bit)
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libfmcommon.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
|
|
Requires: fm-common >= 1.0
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: /bin/sh
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.14)(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: libevent >= 2.0.21
|
|
Requires: libevent-2.0.so.5()(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libssh2.so.1()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%description -n cgts-mtce-common-hwmon
|
|
Titanium Cloud Host Maintenance Hardware Monitor Service (hwmond) adds
|
|
in and out of service hardware sensor monitoring, alarming and recovery
|
|
handling.
|
|
|
|
%package -n cgts-mtce-common-guestAgent
|
|
Summary: Titanuim Server Maintenance Guest Agent Package
|
|
Group: base
|
|
Requires: dpkg
|
|
Requires: time
|
|
Requires: libjson-c.so.2()(64bit)
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libfmcommon.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
|
|
Requires: fm-common >= 1.0
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: /bin/sh
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.14)(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: libevent >= 2.0.21
|
|
Requires: libevent-2.0.so.5()(64bit)
|
|
Requires: libuuid.so.1()(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%description -n cgts-mtce-common-guestAgent
|
|
Titanium Cloud Host Maintenance Guest Agent Service assists in
|
|
VM guest heartbeat control and failure reporting at the controller
|
|
level.
|
|
|
|
%package -n cgts-mtce-common-guestServer
|
|
Summary: Titanuim Server Maintenance Guest Server Package
|
|
Group: base
|
|
Requires: util-linux
|
|
Requires: /bin/bash
|
|
Requires: /bin/systemctl
|
|
Requires: dpkg
|
|
Requires: libjson-c.so.2()(64bit)
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libfmcommon.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
|
|
Requires: fm-common >= 1.0
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: /bin/sh
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.14)(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: libevent >= 2.0.21
|
|
Requires: libevent-2.0.so.5()(64bit)
|
|
Requires: libuuid.so.1()(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.4)(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%description -n cgts-mtce-common-guestServer
|
|
Titanium Cloud Maintenance Guest Server assists in VM guest
|
|
heartbeat control and failure reporting at the compute level.
|
|
|
|
%package -n cgts-mtce-common-hostw
|
|
Summary: Titanuim Server Common Maintenance Package
|
|
Group: base
|
|
Requires: util-linux
|
|
Requires: /bin/bash
|
|
Requires: /bin/systemctl
|
|
Requires: dpkg
|
|
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
|
|
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
|
|
Requires: librt.so.1()(64bit)
|
|
Requires: libc.so.6(GLIBC_2.3)(64bit)
|
|
Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.3.3)(64bit)
|
|
Requires: libgcc_s.so.1(GCC_3.0)(64bit)
|
|
Requires: librt.so.1(GLIBC_2.2.5)(64bit)
|
|
Requires: libm.so.6()(64bit)
|
|
Requires: rtld(GNU_HASH)
|
|
Requires: libstdc++.so.6()(64bit)
|
|
Requires: libc.so.6()(64bit)
|
|
Requires: libgcc_s.so.1()(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
|
|
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%description -n cgts-mtce-common-hostw
|
|
Titanium Cloud Host Maintenance services. A suite of daemons that provide
|
|
host maintainability and a high level of fault detection with automatic
|
|
notification and recovery.The Maintenance Service (mtcAgent/mtcClient)
|
|
manages hosts according to an abbreviated version of the CCITT X.731 ITU
|
|
specification. The Heartbeat Service (hbsAgent/hbsClient) adds fast failure
|
|
detection over the management and infstructure networks. The Process
|
|
Monitor service (pmond) add both passive and active process monitoring and
|
|
automatic recovery of stopped or killed processes. The File System Monitor
|
|
Service (fsmond) adds detection and reporting of local file system
|
|
problems. The Hardware Monitor Service (hwmond) adds present and predictive
|
|
hardware failure detection, reporting and recovery. The Resource Monitor
|
|
Service (rmond) adds resource monitoring with present and predictive
|
|
failure and overload detection and reporting. The Guest Services
|
|
(guestAgent/guestServer) daemons control access into and heartbeat of guest
|
|
VMs on the compute. The Host Watchdog (hostwd) daemon watches for errors in
|
|
pmond and logs system information on error. All of these maintenance
|
|
services improve MTTD of node failures as well as resource overload and out
|
|
of spec operating conditions that can reduce outage time through automated
|
|
notification and recovery thereby improving overall platform availability
|
|
for the customer.
|
|
|
|
%define local_dir /usr/local
|
|
%define local_bindir %{local_dir}/bin
|
|
%define local_sbindir %{local_dir}/sbin
|
|
%define local_etc_pmond %{_sysconfdir}/pmon.d
|
|
%define local_etc_rmond %{_sysconfdir}/rmon.d
|
|
%define local_etc_goenabledd %{_sysconfdir}/goenabled.d
|
|
%define local_etc_servicesd %{_sysconfdir}/services.d
|
|
%define local_etc_logrotated %{_sysconfdir}/logrotate.d
|
|
%define bmc_profilesd %{_sysconfdir}/bmc/server_profiles.d
|
|
%define ocf_resourced /usr/lib/ocf/resource.d
|
|
|
|
%prep
|
|
%setup
|
|
|
|
# Build for main cgts-mtce-common package
|
|
%build
|
|
VER=%{version}
|
|
MAJOR=`echo $VER | awk -F . '{print $1}'`
|
|
MINOR=`echo $VER | awk -F . '{print $2}'`
|
|
make MAJOR=$MAJOR MINOR=$MINOR %{?_smp_mflags} build
|
|
|
|
%global _buildsubdir %{_builddir}/%{name}-%{version}
|
|
|
|
# Install for main cgts-mtce-common package
|
|
%install
|
|
|
|
VER=%{version}
|
|
MAJOR=`echo $VER | awk -F . '{print $1}'`
|
|
MINOR=`echo $VER | awk -F . '{print $2}'`
|
|
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}
|
|
install -m 755 -d %{buildroot}/usr
|
|
install -m 755 -d %{buildroot}/%{_bindir}
|
|
install -m 755 -d %{buildroot}/usr/local
|
|
install -m 755 -d %{buildroot}%{local_bindir}
|
|
install -m 755 -d %{buildroot}/usr/local/sbin
|
|
install -m 755 -d %{buildroot}/%{_sbindir}
|
|
install -m 755 -d %{buildroot}/lib
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/mtc
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/mtc/tmp
|
|
|
|
# Resource Agent Stuff
|
|
install -m 755 -d %{buildroot}/usr/lib
|
|
install -m 755 -d %{buildroot}/usr/lib/ocf
|
|
install -m 755 -d %{buildroot}/usr/lib/ocf/resource.d
|
|
install -m 755 -d %{buildroot}/usr/lib/ocf/resource.d/platform
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/mtcAgent %{buildroot}/usr/lib/ocf/resource.d/platform/mtcAgent
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/hbsAgent %{buildroot}/usr/lib/ocf/resource.d/platform/hbsAgent
|
|
install -m 755 -p -D %{_buildsubdir}/hwmon/scripts/ocf/hwmon %{buildroot}/usr/lib/ocf/resource.d/platform/hwmon
|
|
install -m 755 -p -D %{_buildsubdir}/guest/scripts/guestAgent.ocf %{buildroot}/usr/lib/ocf/resource.d/platform/guestAgent
|
|
|
|
# config files
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtc.ini %{buildroot}%{_sysconfdir}/mtc.ini
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtc.conf %{buildroot}%{_sysconfdir}/mtc.conf
|
|
install -m 644 -p -D %{_buildsubdir}/fsmon/scripts/fsmond.conf %{buildroot}%{_sysconfdir}/mtc/fsmond.conf
|
|
install -m 644 -p -D %{_buildsubdir}/hwmon/scripts/hwmond.conf %{buildroot}%{_sysconfdir}/mtc/hwmond.conf
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/pmond.conf %{buildroot}%{_sysconfdir}/mtc/pmond.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/rmond.conf %{buildroot}%{_sysconfdir}/mtc/rmond.conf
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guest.ini %{buildroot}%{_sysconfdir}/mtc/guestAgent.ini
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guest.ini %{buildroot}%{_sysconfdir}/mtc/guestServer.ini
|
|
install -m 644 -p -D %{_buildsubdir}/hostw/scripts/hostwd.conf %{buildroot}%{_sysconfdir}/mtc/hostwd.conf
|
|
|
|
install -m 755 -d %{buildroot}/%{_sysconfdir}/etc/bmc/server_profiles.d
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/sensor_hp360_v1_ilo_v4.profile %{buildroot}/%{_sysconfdir}/bmc/server_profiles.d/sensor_hp360_v1_ilo_v4.profile
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/sensor_hp380_v1_ilo_v4.profile %{buildroot}/%{_sysconfdir}/bmc/server_profiles.d/sensor_hp380_v1_ilo_v4.profile
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/sensor_quanta_v1_ilo_v4.profile %{buildroot}/%{_sysconfdir}/bmc/server_profiles.d/sensor_quanta_v1_ilo_v4.profile
|
|
|
|
# binaries
|
|
install -m 755 -p -D %{_buildsubdir}/maintenance/mtcAgent %{buildroot}/%{local_bindir}/mtcAgent
|
|
install -m 755 -p -D %{_buildsubdir}/maintenance/mtcClient %{buildroot}/%{local_bindir}/mtcClient
|
|
install -m 755 -p -D %{_buildsubdir}/heartbeat/hbsAgent %{buildroot}/%{local_bindir}/hbsAgent
|
|
install -m 755 -p -D %{_buildsubdir}/heartbeat/hbsClient %{buildroot}/%{local_bindir}/hbsClient
|
|
install -m 755 -p -D %{_buildsubdir}/guest/guestServer %{buildroot}/%{local_bindir}/guestServer
|
|
install -m 755 -p -D %{_buildsubdir}/guest/guestAgent %{buildroot}/%{local_bindir}/guestAgent
|
|
install -m 755 -p -D %{_buildsubdir}/pmon/pmond %{buildroot}/%{local_bindir}/pmond
|
|
install -m 755 -p -D %{_buildsubdir}/hostw/hostwd %{buildroot}/%{local_bindir}/hostwd
|
|
install -m 755 -p -D %{_buildsubdir}/rmon/rmond %{buildroot}/%{local_bindir}/rmond
|
|
install -m 755 -p -D %{_buildsubdir}/fsmon/fsmond %{buildroot}/%{local_bindir}/fsmond
|
|
install -m 755 -p -D %{_buildsubdir}/hwmon/hwmond %{buildroot}/%{local_bindir}/hwmond
|
|
install -m 755 -p -D %{_buildsubdir}/mtclog/mtclogd %{buildroot}/%{local_bindir}/mtclogd
|
|
install -m 755 -p -D %{_buildsubdir}/alarm/mtcalarmd %{buildroot}/%{local_bindir}/mtcalarmd
|
|
install -m 755 -p -D %{_buildsubdir}/rmon/rmon_resource_notify/rmon_resource_notify %{buildroot}/%{local_bindir}/rmon_resource_notify
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/wipedisk %{buildroot}/%{local_bindir}/wipedisk
|
|
install -m 755 -p -D %{_buildsubdir}/common/fsync %{buildroot}/%{_sbindir}/fsync
|
|
install -m 700 -p -D %{_buildsubdir}/pmon/scripts/pmon-restart %{buildroot}/%{local_sbindir}/pmon-restart
|
|
install -m 700 -p -D %{_buildsubdir}/pmon/scripts/pmon-start %{buildroot}/%{local_sbindir}/pmon-start
|
|
install -m 700 -p -D %{_buildsubdir}/pmon/scripts/pmon-stop %{buildroot}/%{local_sbindir}/pmon-stop
|
|
|
|
# test tools
|
|
install -m 755 %{_buildsubdir}/hwmon/scripts/show_hp360 %{buildroot}/%{_sbindir}/show_hp360
|
|
install -m 755 %{_buildsubdir}/hwmon/scripts/show_hp380 %{buildroot}/%{_sbindir}/show_hp380
|
|
install -m 755 %{_buildsubdir}/hwmon/scripts/show_quanta %{buildroot}/%{_sbindir}/show_quanta
|
|
|
|
# init script files
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/mtcClient %{buildroot}%{_sysconfdir}/init.d/mtcClient
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/hbsClient %{buildroot}%{_sysconfdir}/init.d/hbsClient
|
|
install -m 755 -p -D %{_buildsubdir}/guest/scripts/guestServer %{buildroot}%{_sysconfdir}/init.d/guestServer
|
|
install -m 755 -p -D %{_buildsubdir}/guest/scripts/guestAgent %{buildroot}%{_sysconfdir}/init.d/guestAgent
|
|
install -m 755 -p -D %{_buildsubdir}/hwmon/scripts/lsb/hwmon %{buildroot}%{_sysconfdir}/init.d/hwmon
|
|
install -m 755 -p -D %{_buildsubdir}/fsmon/scripts/fsmon %{buildroot}%{_sysconfdir}/init.d/fsmon
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/mtclog %{buildroot}%{_sysconfdir}/init.d/mtclog
|
|
install -m 755 -p -D %{_buildsubdir}/pmon/scripts/pmon %{buildroot}%{_sysconfdir}/init.d/pmon
|
|
install -m 755 -p -D %{_buildsubdir}/rmon/scripts/rmon %{buildroot}%{_sysconfdir}/init.d/rmon
|
|
install -m 755 -p -D %{_buildsubdir}/hostw/scripts/hostw %{buildroot}%{_sysconfdir}/init.d/hostw
|
|
install -m 755 -p -D %{_buildsubdir}/alarm/scripts/mtcalarm.init %{buildroot}%{_sysconfdir}/init.d/mtcalarm
|
|
|
|
# install -m 755 -p -D %{_buildsubdir}/scripts/config %{buildroot}%{_sysconfdir}/init.d/config
|
|
|
|
# TODO: Init hack. Should move to proper module
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/hwclock.sh %{buildroot}%{_sysconfdir}/init.d/hwclock.sh
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/hwclock.service %{buildroot}%{_unitdir}/hwclock.service
|
|
|
|
# systemd service files
|
|
install -m 644 -p -D %{_buildsubdir}/fsmon/scripts/fsmon.service %{buildroot}%{_unitdir}/fsmon.service
|
|
install -m 644 -p -D %{_buildsubdir}/hwmon/scripts/hwmon.service %{buildroot}%{_unitdir}/hwmon.service
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/rmon.service %{buildroot}%{_unitdir}/rmon.service
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/pmon.service %{buildroot}%{_unitdir}/pmon.service
|
|
install -m 644 -p -D %{_buildsubdir}/hostw/scripts/hostw.service %{buildroot}%{_unitdir}/hostw.service
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guestServer.service %{buildroot}%{_unitdir}/guestServer.service
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guestAgent.service %{buildroot}%{_unitdir}/guestAgent.service
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtcClient.service %{buildroot}%{_unitdir}/mtcClient.service
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/hbsClient.service %{buildroot}%{_unitdir}/hbsClient.service
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtclog.service %{buildroot}%{_unitdir}/mtclog.service
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/goenabled.service %{buildroot}%{_unitdir}/goenabled.service
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/runservices.service %{buildroot}%{_unitdir}/runservices.service
|
|
install -m 644 -p -D %{_buildsubdir}/alarm/scripts/mtcalarm.service %{buildroot}%{_unitdir}/mtcalarm.service
|
|
|
|
# go enabled stuff
|
|
install -m 755 -d %{buildroot}%{local_etc_goenabledd}
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/goenabled %{buildroot}%{_sysconfdir}/init.d/goenabled
|
|
|
|
# start or stop services test script
|
|
install -m 755 -d %{buildroot}%{local_etc_servicesd}
|
|
install -m 755 -d %{buildroot}%{local_etc_servicesd}/controller
|
|
install -m 755 -d %{buildroot}%{local_etc_servicesd}/compute
|
|
install -m 755 -d %{buildroot}%{local_etc_servicesd}/storage
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/mtcTest %{buildroot}/%{local_etc_servicesd}/compute
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/mtcTest %{buildroot}/%{local_etc_servicesd}/controller
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/mtcTest %{buildroot}/%{local_etc_servicesd}/storage
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/runservices %{buildroot}%{_sysconfdir}/init.d/runservices
|
|
|
|
# test tools
|
|
install -m 755 -p -D %{_buildsubdir}/scripts/dmemchk.sh %{buildroot}%{local_sbindir}
|
|
|
|
# process monitor config files
|
|
install -m 755 -d %{buildroot}%{local_etc_pmond}
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtcClient.conf %{buildroot}%{local_etc_pmond}/mtcClient.conf
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/hbsClient.conf %{buildroot}%{local_etc_pmond}/hbsClient.conf
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/acpid.conf %{buildroot}%{local_etc_pmond}/acpid.conf
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/sshd.conf %{buildroot}%{local_etc_pmond}/sshd.conf
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/ntpd.conf %{buildroot}%{local_etc_pmond}/ntpd.conf
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/syslog-ng.conf %{buildroot}%{local_etc_pmond}/syslog-ng.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/rmon.conf %{buildroot}%{local_etc_pmond}/rmon.conf
|
|
install -m 644 -p -D %{_buildsubdir}/fsmon/scripts/fsmon.conf %{buildroot}%{local_etc_pmond}/fsmon.conf
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtclogd.conf %{buildroot}%{local_etc_pmond}/mtclogd.conf
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guestServer.pmon %{buildroot}%{local_etc_pmond}/guestServer.conf
|
|
install -m 644 -p -D %{_buildsubdir}/alarm/scripts/mtcalarm.pmon.conf %{buildroot}%{local_etc_pmond}/mtcalarm.conf
|
|
|
|
# resource monitor config files
|
|
install -m 755 -d %{buildroot}%{local_etc_rmond}
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/rmonapi.d
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/rmonfiles.d
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/rmon_interfaces.d
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/remotelogging_resource.conf %{buildroot}%{local_etc_rmond}/remotelogging_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/cpu_resource.conf %{buildroot}%{local_etc_rmond}/cpu_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/memory_resource.conf %{buildroot}%{local_etc_rmond}/memory_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/filesystem_resource.conf %{buildroot}%{local_etc_rmond}/filesystem_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/cinder_virtual_resource.conf %{buildroot}%{local_etc_rmond}/cinder_virtual_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/nova_virtual_resource.conf %{buildroot}%{local_etc_rmond}/nova_virtual_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/oam_resource.conf %{buildroot}%{_sysconfdir}/rmon_interfaces.d/oam_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/management_resource.conf %{buildroot}%{_sysconfdir}/rmon_interfaces.d/management_resource.conf
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/infrastructure_resource.conf %{buildroot}%{_sysconfdir}/rmon_interfaces.d/infrastructure_resource.conf
|
|
install -m 755 -p -D %{_buildsubdir}/rmon/scripts/query_ntp_servers.sh %{buildroot}%{_sysconfdir}/rmonfiles.d/query_ntp_servers.sh
|
|
install -m 755 -p -D %{_buildsubdir}/rmon/scripts/rmon_reload_on_cpe.sh %{buildroot}%{local_etc_goenabledd}/rmon_reload_on_cpe.sh
|
|
|
|
# log rotation
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/logrotate.d
|
|
install -m 644 -p -D %{_buildsubdir}/scripts/mtce.logrotate %{buildroot}%{local_etc_logrotated}/mtce.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/hostw/scripts/hostw.logrotate %{buildroot}%{local_etc_logrotated}/hostw.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/pmon/scripts/pmon.logrotate %{buildroot}%{local_etc_logrotated}/pmon.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/rmon/scripts/rmon.logrotate %{buildroot}%{local_etc_logrotated}/rmon.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/fsmon/scripts/fsmon.logrotate %{buildroot}%{local_etc_logrotated}/fsmon.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/hwmon/scripts/hwmon.logrotate %{buildroot}%{local_etc_logrotated}/hwmon.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guestAgent.logrotate %{buildroot}%{local_etc_logrotated}/guestAgent.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/guest/scripts/guestServer.logrotate %{buildroot}%{local_etc_logrotated}/guestServer.logrotate
|
|
install -m 644 -p -D %{_buildsubdir}/alarm/scripts/mtcalarm.logrotate %{buildroot}%{local_etc_logrotated}/mtcalarm.logrotate
|
|
|
|
install -m 755 -p -D %{_buildsubdir}/public/libamon.so.$MAJOR %{buildroot}%{_libdir}/libamon.so.$MAJOR
|
|
cd %{buildroot}%{_libdir} ; ln -s libamon.so.$MAJOR libamon.so.$MAJOR.$MINOR
|
|
cd %{buildroot}%{_libdir} ; ln -s libamon.so.$MAJOR libamon.so
|
|
|
|
install -m 755 -p -D %{_buildsubdir}/rmon/rmonApi/librmonapi.so.$MAJOR %{buildroot}%{_libdir}/librmonapi.so.$MAJOR
|
|
cd %{buildroot}%{_libdir} ; ln -s librmonapi.so.$MAJOR librmonapi.so.$MAJOR.$MINOR
|
|
cd %{buildroot}%{_libdir} ; ln -s librmonapi.so.$MAJOR librmonapi.so
|
|
|
|
install -m 755 -d %{buildroot}/var
|
|
install -m 755 -d %{buildroot}/var/run
|
|
|
|
# Enable all services in systemd
|
|
%post
|
|
/bin/systemctl enable fsmon.service
|
|
/bin/systemctl enable mtcClient.service
|
|
/bin/systemctl enable hbsClient.service
|
|
/bin/systemctl enable mtclog.service
|
|
/bin/systemctl enable iscsid.service
|
|
/bin/systemctl enable rsyncd.service
|
|
/bin/systemctl enable goenabled.service
|
|
/bin/systemctl enable mtcalarm.service
|
|
|
|
%post -n cgts-mtce-common-hostw
|
|
/bin/systemctl enable hostw.service
|
|
|
|
%post -n cgts-mtce-common-pmon
|
|
/bin/systemctl enable pmon.service
|
|
|
|
%post -n cgts-mtce-common-guestServer
|
|
/bin/systemctl enable guestServer.service
|
|
|
|
%post -n cgts-mtce-common-rmon
|
|
/bin/systemctl enable rmon.service
|
|
|
|
|
|
###############################
|
|
# Maintenance Common RPM Files
|
|
###############################
|
|
|
|
%files
|
|
%license LICENSE
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# create the mtc and its tmp dir
|
|
%dir %{_sysconfdir}/mtc
|
|
%dir %{_sysconfdir}/mtc/tmp
|
|
|
|
# SM OCF Start/Stop/Monitor Scripts
|
|
%{ocf_resourced}/platform/mtcAgent
|
|
%{ocf_resourced}/platform/hbsAgent
|
|
|
|
# Config files
|
|
%config(noreplace)/etc/mtc.ini
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc.conf
|
|
%{_sysconfdir}/mtc/fsmond.conf
|
|
|
|
# Mainteance Process Monitor Config Files
|
|
%{local_etc_pmond}/sshd.conf
|
|
%{local_etc_pmond}/ntpd.conf
|
|
%{local_etc_pmond}/mtcClient.conf
|
|
%{local_etc_pmond}/acpid.conf
|
|
%{local_etc_pmond}/hbsClient.conf
|
|
%{local_etc_pmond}/syslog-ng.conf
|
|
%{local_etc_pmond}/fsmon.conf
|
|
%{local_etc_pmond}/mtclogd.conf
|
|
%{local_etc_pmond}/mtcalarm.conf
|
|
|
|
# Mainteance log rotation config files
|
|
%{local_etc_logrotated}/fsmon.logrotate
|
|
%{local_etc_logrotated}/mtce.logrotate
|
|
%{local_etc_logrotated}/mtcalarm.logrotate
|
|
|
|
# Maintenance start/stop services scripts
|
|
%{local_etc_servicesd}/controller/mtcTest
|
|
%{local_etc_servicesd}/storage/mtcTest
|
|
%{local_etc_servicesd}/compute/mtcTest
|
|
|
|
# BMC profile Files
|
|
%{bmc_profilesd}/sensor_hp360_v1_ilo_v4.profile
|
|
%{bmc_profilesd}/sensor_quanta_v1_ilo_v4.profile
|
|
%{bmc_profilesd}/sensor_hp380_v1_ilo_v4.profile
|
|
|
|
# Init scripts
|
|
%{_sysconfdir}/init.d/runservices
|
|
%{_sysconfdir}/init.d/goenabled
|
|
%{_sysconfdir}/init.d/fsmon
|
|
%{_sysconfdir}/init.d/mtclog
|
|
%{_sysconfdir}/init.d/hbsClient
|
|
%{_sysconfdir}/init.d/mtcClient
|
|
%{_sysconfdir}/init.d/mtcalarm
|
|
%{_sysconfdir}/init.d/hwclock.sh
|
|
|
|
%{_unitdir}/runservices.service
|
|
%{_unitdir}/goenabled.service
|
|
%{_unitdir}/mtclog.service
|
|
%{_unitdir}/mtcalarm.service
|
|
%{_unitdir}/fsmon.service
|
|
%{_unitdir}/mtcClient.service
|
|
%{_unitdir}/hbsClient.service
|
|
%{_unitdir}/hwclock.service
|
|
|
|
# Binaries
|
|
%{local_bindir}/mtcAgent
|
|
%{local_bindir}/fsmond
|
|
%{local_bindir}/hbsAgent
|
|
%{local_bindir}/mtclogd
|
|
%{local_bindir}/mtcalarmd
|
|
%{local_bindir}/hbsClient
|
|
%{local_bindir}/mtcClient
|
|
%{local_bindir}/wipedisk
|
|
%{local_sbindir}/dmemchk.sh
|
|
%{_sbindir}/fsync
|
|
|
|
###############################
|
|
# Process Monitor RPM Files
|
|
###############################
|
|
%files -n cgts-mtce-common-pmon
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc/pmond.conf
|
|
|
|
%{local_etc_logrotated}/pmon.logrotate
|
|
%{_unitdir}/pmon.service
|
|
%{local_sbindir}/pmon-restart
|
|
%{local_sbindir}/pmon-start
|
|
%{local_sbindir}/pmon-stop
|
|
|
|
/usr/lib64/libamon.so.1.0
|
|
/usr/lib64/libamon.so.1
|
|
/usr/lib64/libamon.so
|
|
|
|
%{_sysconfdir}/init.d/pmon
|
|
%{local_bindir}/pmond
|
|
|
|
###############################
|
|
# Resource Monitor RPM Files
|
|
###############################
|
|
%files -n cgts-mtce-common-rmon
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc/rmond.conf
|
|
|
|
%{local_etc_pmond}/rmon.conf
|
|
%{local_etc_logrotated}/rmon.logrotate
|
|
%{_unitdir}/rmon.service
|
|
|
|
%{local_etc_rmond}/filesystem_resource.conf
|
|
%{local_etc_rmond}/cpu_resource.conf
|
|
%{local_etc_rmond}/remotelogging_resource.conf
|
|
%{local_etc_rmond}/memory_resource.conf
|
|
%{local_etc_rmond}/cinder_virtual_resource.conf
|
|
%{local_etc_rmond}/nova_virtual_resource.conf
|
|
|
|
%{_sysconfdir}/rmon_interfaces.d/management_resource.conf
|
|
%{_sysconfdir}/rmon_interfaces.d/oam_resource.conf
|
|
%{_sysconfdir}/rmon_interfaces.d/infrastructure_resource.conf
|
|
%{_sysconfdir}/rmonfiles.d/query_ntp_servers.sh
|
|
|
|
/usr/lib64/librmonapi.so.1.0
|
|
/usr/lib64/librmonapi.so.1
|
|
/usr/lib64/librmonapi.so
|
|
|
|
%dir %{_sysconfdir}/rmonapi.d
|
|
|
|
%{_sysconfdir}/init.d/rmon
|
|
%{local_bindir}/rmond
|
|
%{local_bindir}/rmon_resource_notify
|
|
%{local_etc_goenabledd}/rmon_reload_on_cpe.sh
|
|
|
|
###############################
|
|
# Hardware Monitor RPM Files
|
|
###############################
|
|
%files -n cgts-mtce-common-hwmon
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc/hwmond.conf
|
|
|
|
%{_unitdir}/hwmon.service
|
|
%{local_etc_logrotated}/hwmon.logrotate
|
|
%{ocf_resourced}/platform/hwmon
|
|
|
|
%{_sbindir}/show_hp380
|
|
%{_sbindir}/show_hp360
|
|
%{_sbindir}/show_quanta
|
|
|
|
%{_sysconfdir}/init.d/hwmon
|
|
%{local_bindir}/hwmond
|
|
|
|
###############################
|
|
# Guest Agent RPM Files
|
|
###############################
|
|
%files -n cgts-mtce-common-guestAgent
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc/guestAgent.ini
|
|
|
|
%{_unitdir}/guestAgent.service
|
|
%{local_etc_logrotated}/guestAgent.logrotate
|
|
%{ocf_resourced}/platform/guestAgent
|
|
|
|
%{_sysconfdir}/init.d/guestAgent
|
|
%{local_bindir}/guestAgent
|
|
|
|
###############################
|
|
# Guest Server RPM Files
|
|
###############################
|
|
%files -n cgts-mtce-common-guestServer
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc/guestServer.ini
|
|
|
|
%{local_etc_pmond}/guestServer.conf
|
|
%{local_etc_logrotated}/guestServer.logrotate
|
|
%{_unitdir}/guestServer.service
|
|
|
|
%{_sysconfdir}/init.d/guestServer
|
|
%{local_bindir}/guestServer
|
|
|
|
|
|
###############################
|
|
# Host Watchdog RPM Files
|
|
###############################
|
|
%files -n cgts-mtce-common-hostw
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# Config files - Non-Modifiable
|
|
%{_sysconfdir}/mtc/hostwd.conf
|
|
|
|
%{local_etc_logrotated}/hostw.logrotate
|
|
%{_unitdir}/hostw.service
|
|
%{_sysconfdir}/init.d/hostw
|
|
%{local_bindir}/hostwd
|