From 20806433d8b38b3ac8d6c13c3cb7bf87abe235f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 18 Dec 2009 16:08:30 +0000 Subject: [PATCH] merged pcucontrol into monitor-server. although monitor-pcucontrol may be utilized as a seperate package it makes managing the %files more complicated for the moment. if we had need to generalize it at some point, we can manage it in a separate rpm (and/or svn module?) --- Monitor.spec | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/Monitor.spec b/Monitor.spec index 9eb5bf2..61a2ca7 100644 --- a/Monitor.spec +++ b/Monitor.spec @@ -86,7 +86,6 @@ Group: Applications/System Requires: python Requires: monitor-server-deps -Requires: monitor-pcucontrol Requires: PLCWWW >= 4.2 Requires: bootcd-%{pldistro}-%{_arch} >= 4.2 @@ -95,19 +94,6 @@ The server side include all python modules and scripts needed to fully operation, track, and interact with any third-party monitoring software, such as Zabbix DB. -######################################## PCU Control - -%package pcucontrol -summary: pcu controls for monitor and plcapi -group: applications/system -requires: python -requires: OpenIPMI-tools - -%description pcucontrol -both monitor and the plcapi use a set of common commands to reboot machines -using their external or internal pcus. this package is a library of several -supported models. - ####################################### RunlevelAgent %package runlevelagent summary: the RunlevelAgent that reports node runlevels @@ -214,15 +200,11 @@ rm -rf $RPM_BUILD_ROOT /var/lib/%{name} #/var/www/cgi-bin/monitor %{_sysconfdir}/cron.d/monitor-server.cron -%{python_sitearch}/threadpool.py* -%{python_sitearch}/monitor -%{python_sitearch}/*.egg/ -%{python_sitearch}/easy-install.pth -%{python_sitearch}/tg-admin %{_sysconfdir}/plc.d/monitor %{_sysconfdir}/plc.d/monitor.functions %{_sysconfdir}/plc.d/zabbix %{_sysconfdir}/httpd/conf.d +%{python_sitearch} %files client %defattr(-,root,root) @@ -230,13 +212,8 @@ rm -rf $RPM_BUILD_ROOT #%{_sysconfdir}/cron.d/monitor /usr/bin/timeout.pl -%files pcucontrol -%{python_sitearch}/pcucontrol - %files runlevelagent -/usr/bin/RunlevelAgent.py -/usr/bin/RunlevelAgent.pyo -/usr/bin/RunlevelAgent.pyc +/usr/bin/RunlevelAgent.py* /%{_initrddir}/monitor-runlevelagent %post server-deps -- 2.43.0