X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=NodeManager.spec;h=8a7f8214e945d5dfd34231342946bffde6471575;hb=cfc0726ef449c897a412ff6247042f2c72995ad8;hp=017c1f7631062e29b2299abc42126e71268712ff;hpb=1b64fd5ba728875d918f80a79406ea7851de464d;p=nodemanager.git diff --git a/NodeManager.spec b/NodeManager.spec index 017c1f7..8a7f821 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -1,18 +1,35 @@ +# +# $Id$ +# +%define url $URL$ + +%define slicefamily %{pldistro}-%{distroname}-%{_arch} + +%define name NodeManager +%define version 1.8 +%define taglevel 0 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} + Summary: PlanetLab Node Manager -Name: NodeManager -Version: 1.5 -Release: 1%{?pldistro:.%{pldistro}}%{?date:.%{date}} +Name: %{name} +Version: %{version} +Release: %{release} License: PlanetLab Group: System Environment/Daemons -URL: http://cvs.planet-lab.org/cvs/NodeManager Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab %{plrelease} +URL: %(echo %{url} | cut -d ' ' -f 2) + # Old Node Manager Obsoletes: sidewinder, sidewinder-common # vuseradd, vuserdel -Requires: vserver-reference +Requires: vserver-%{slicefamily} Requires: util-vserver >= 0.30.208-17 # vserver.py @@ -45,23 +62,28 @@ rm -rf $RPM_BUILD_ROOT %{__make} %{?_smp_mflags} install DESTDIR="$RPM_BUILD_ROOT" install -D -m 755 conf_files.init $RPM_BUILD_ROOT/%{_initrddir}/conf_files +install -D -m 755 fuse-pl.init $RPM_BUILD_ROOT/%{_initrddir}/fuse-pl install -D -m 755 nm.init $RPM_BUILD_ROOT/%{_initrddir}/nm install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm %post -if [ -e /var/log/nm ] ; then - gzip /var/log/nm -fi chkconfig --add conf_files chkconfig conf_files on chkconfig --add nm chkconfig nm on -service nm restart +chkconfig --add fuse-pl +chkconfig fuse-pl on +if [ "$PL_BOOTCD" != "1" ] ; then + service nm restart + service fuse-pl restart +fi %preun # 0 = erase, 1 = upgrade if [ $1 -eq 0 ] ; then + chkconfig fuse-pl off + chkconfig --del fuse-pl chkconfig nm off chkconfig --del nm chkconfig conf_files off @@ -82,5 +104,24 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/logrotate.d/nm %changelog +* Wed Apr 02 2008 Faiyaz Ahmed - NodeManager-1.7-1 NodeManager-1.7-2 +- Configures vsys via vsys slice attribute {name: vsys, value: script} +- CPU reservations are now calculated via percentages instead of shares +- BW totals preserved for dynamic slices +- Closes bug where node cap sets off bw slice alarms for all slices. + +* Wed Oct 03 2007 Faiyaz Ahmed . +- Switched to SVN. + * Mon Nov 13 2006 Mark Huang - - Initial build.