--- ltsp-cluster-lbagent-2.0.2.orig/debian/changelog +++ ltsp-cluster-lbagent-2.0.2/debian/changelog @@ -0,0 +1,53 @@ +ltsp-cluster-lbagent (2.0.2-0ubuntu4) vivid; urgency=medium + + * Add systemd unit. + + -- Martin Pitt Thu, 15 Jan 2015 15:33:35 +0100 + +ltsp-cluster-lbagent (2.0.2-0ubuntu3) trusty; urgency=medium + + * Port to dh_python2. + + -- Dimitri John Ledkov Mon, 27 Jan 2014 09:25:16 +0000 + +ltsp-cluster-lbagent (2.0.2-0ubuntu2) maverick; urgency=low + + * Fix upstart script to depend on ltsp-cluster-accountmanager + (fix boot race condition) + * Add ltsp-cluster-accountmanager as a Depend. + + -- Marc Gariépy Fri, 17 Sep 2010 14:00:40 -0400 + +ltsp-cluster-lbagent (2.0.2-0ubuntu1) lucid; urgency=low + + * New upstream bugfix release (2.0.2) + * Fix XML typo in previous upstream. + + -- Stéphane Graber Mon, 29 Mar 2010 15:55:00 -0400 + +ltsp-cluster-lbagent (2.0.1-0ubuntu1) lucid; urgency=low + + * New upstream bugfix release (2.0.1) + * Update lbaconfig.xml to have IP, ADDRESSES and HOSTNAME as variable + instead of constants. Avoid race conditions at boot time. + + -- Stéphane Graber Mon, 29 Mar 2010 14:41:58 -0400 + +ltsp-cluster-lbagent (2.0.0-0ubuntu3) lucid; urgency=low + + * Update lbagent priority to avoid starting before the network. + + -- Stéphane Graber Thu, 25 Mar 2010 13:55:47 -0400 + +ltsp-cluster-lbagent (2.0.0-0ubuntu2) karmic; urgency=low + + * Fix dh_installinit running before dh_pycentral in postinst. + + -- Stéphane Graber Sun, 13 Sep 2009 12:26:02 -0400 + +ltsp-cluster-lbagent (2.0.0-0ubuntu1) karmic; urgency=low + + * Initial Release (LP: #396609) + + -- Jonathan Carter Tue, 07 Jul 2009 14:52:18 +0200 + --- ltsp-cluster-lbagent-2.0.2.orig/debian/compat +++ ltsp-cluster-lbagent-2.0.2/debian/compat @@ -0,0 +1 @@ +6 --- ltsp-cluster-lbagent-2.0.2.orig/debian/control +++ ltsp-cluster-lbagent-2.0.2/debian/control @@ -0,0 +1,23 @@ +Source: ltsp-cluster-lbagent +Section: misc +Priority: optional +Maintainer: Ubuntu MOTU Developers +Build-Depends: debhelper (>= 6.0), cdbs (>= 0.4.49), python, dh-python, dh-systemd +Standards-Version: 3.8.2 +Homepage: http://www.revolutionlinux.com +X-Python-Version: >= 2.3 + +Package: ltsp-cluster-lbagent +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python, ltsp-cluster-accountmanager +Description: LTSP loadbalancer agent offers variables about the state of the ltsp server + The loadbalancer is composed of 3 modules : an agent, a server and a client. + The agent role is to sends information about the state of monitored variables. + The server harvests data from every known agents, and compute their respective + weight. The client requests address to the server, that sends a randomly chosen + LTSP application server in the wightened list. The loadbalancer is written in + Python, and uses XML-RPC for remote communication between the agent and the + server, while the client uses HTTP. + . + This package contains the agent component. + --- ltsp-cluster-lbagent-2.0.2.orig/debian/copyright +++ ltsp-cluster-lbagent-2.0.2/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Jonathan Carter + on Wed, Tue, 7 Jul 2009 15:12:01 +0200. + +It was downloaded from https://launchpad.net/ltsp-cluster/+download + +Upstream Authors: + + Stéphane Graber + Francis Giraldeau + Stephane Bond + Ivan Arsenault + +Copyright: + + Copyright (C) 2006-2009 Revolution Linux Inc. + +External source code used: utils.py + Copyright (C) 2001-2005 Hewlett-Packard Development Company, L.P. + Don Welch + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You can find the license on Debian systems in the file + /usr/share/common-licenses/GPL-2 + + +The Debian packaging is Copyright 2009, Jonathan Carter + and is licensed under the GPL, +see `/usr/share/common-licenses/GPL-2'. --- ltsp-cluster-lbagent-2.0.2.orig/debian/ltsp-cluster-lbagent.1 +++ ltsp-cluster-lbagent-2.0.2/debian/ltsp-cluster-lbagent.1 @@ -0,0 +1,27 @@ +.TH "ltsp-cluster-lbagent" "1" "20090708" "Stephane Graber" "" +.SH "NAME" +ltsp-cluster-lbagent \(em Loadbalancer agent for LTSP-Cluster. + +.SH "SYNOPSIS" +.PP +\fBltsp-cluster-lbagent\fR + +.SH "DESCRIPTION" +.PP +\fBltsp-cluster-lbagent\fR is a daemon sending the server status to the +loadbalancer, including list of the users and hardware information. + +.PP + +The configuration is usually stored in /etc/ltsp/lbaconfig.xml + +.SH "AVAILABILITY" +.PP +\fBltsp-cluster-lbagent\fR is part of \fBltsp-cluster-lbagent\fP +package and the latest versions are available in source form from +\fIhttps://launchpad.net/ltsp-cluster\fR. + +.SH "MAN PAGE AUTHOR" +.PP +Copyright 2009 Stephane Graber , distributed under +the terms of the GNU General Public License version 2 or any later version. --- ltsp-cluster-lbagent-2.0.2.orig/debian/ltsp-cluster-lbagent.manpages +++ ltsp-cluster-lbagent-2.0.2/debian/ltsp-cluster-lbagent.manpages @@ -0,0 +1 @@ +debian/ltsp-cluster-lbagent.1 --- ltsp-cluster-lbagent-2.0.2.orig/debian/ltsp-cluster-lbagent.service +++ ltsp-cluster-lbagent-2.0.2/debian/ltsp-cluster-lbagent.service @@ -0,0 +1,11 @@ +[Unit] +Description=LTSP cluster load balancer agent +Requires=ltsp-cluster-accountmanager.service +After=ltsp-cluster-accountmanager.service + +[Service] +ExecStart=/usr/sbin/ltsp-cluster-lbagent --logfile=/var/log/ltsp-cluster-lbagent.log /etc/ltsp/lbaconfig.xml +Restart=on-failure + +[Install] +WantedBy=multi-user.target --- ltsp-cluster-lbagent-2.0.2.orig/debian/ltsp-cluster-lbagent.upstart +++ ltsp-cluster-lbagent-2.0.2/debian/ltsp-cluster-lbagent.upstart @@ -0,0 +1,13 @@ +# ltsp-cluster - LoadBalancer agent +# + +description "ltsp-cluster LoadBalancer agent" +author "Stephane Graber " + +start on (started ltsp-cluster-accountmanager) +stop on runlevel[016] + +expect daemon +respawn + +exec ltsp-cluster-lbagent --daemon --logfile=/var/log/ltsp-cluster-lbagent.log /etc/ltsp/lbaconfig.xml --- ltsp-cluster-lbagent-2.0.2.orig/debian/rules +++ ltsp-cluster-lbagent-2.0.2/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +DEB_PYTHON2_MODULE_PACKAGES := ltsp-cluster-lbagent +DEB_DH_INSTALLINIT_ARGS := -n +DEB_UPDATE_RCD_PARAMS="defaults 99" +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +common-binary-post-install-indep:: + dh_systemd_enable + dh_systemd_start + +get-orig-source: + uscan --force-download --repack --rename --destdir . --- ltsp-cluster-lbagent-2.0.2.orig/debian/watch +++ ltsp-cluster-lbagent-2.0.2/debian/watch @@ -0,0 +1,4 @@ +version=3 + +# launchpad +https://launchpad.net/ltsp-cluster/+download http://launchpad.net/ltsp-cluster/.*/ltsp-cluster-lbagent-(.*)\.tar\.gz