18 Commits

Author SHA1 Message Date
Wido den Hollander
e6fd794ca0 packaging: Do not depend on JNA and don't include it in the classpath
It's now packaged with maven due to libvirt 0.5.1 and will be included
in the classpath automatically.
2013-09-29 12:22:46 +02:00
Wei Zhou
2cc1dd4e74 change display name in /etc/init.d/cloudstack-agent from cloud-agent to cloudstack-agent
(cherry picked from commit add65051826eb0311a9028ecf3785617ea191733)
2013-09-06 14:20:55 +02:00
Wido den Hollander
9573f51d3b CLOUDSTACK-1977: Add management setup directory to classpath
This way the DB upgrade process can locate the SQL files
2013-04-18 21:32:08 +02:00
Wido den Hollander
96cf79535f CLOUDSTACK-2033 Fix usage server logging under Debian and Ubuntu 2013-04-18 10:26:09 +02:00
Wido den Hollander
28d5c959d6 debian: Update the cloudstack-management server's classpath
It should contain /etc/cloudstack/management so it can locate it's configuration
2013-04-03 15:57:40 +02:00
Wido den Hollander
80da4d5baf CLOUDSTACK-1490: deb packaging tomcat fixes
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander
bc1ce57c9b debian: Update the init script for the management server
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Brian Spindler
ae3a048350 CLOUDSTACK-1736: Changes required to get cloudstack-management service
working again.

The newly created package for cloudstack-management was not correctly
installing the service. This prevented cloud-setup-management from being
able to configure the service, and the init script didn't even believe
the service was installed. I also added sudo to the chmod command for
checking script permissions, as most scripts belong to root. It was
trying to configure the agent with cloudstack-setup-agent but the script
was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent.
2013-03-25 17:23:18 +00:00
Wido den Hollander
7a794519a2 debian: Fix the usage server packaging 2013-03-12 14:26:10 +01:00
Wido den Hollander
9e02ed139f packaging: Include the Agent plugins dir in the classpath
For both the RPM and DEB packages are new directory for plugins
for the agent is created.

All JAR files in that directory will be added to the classpath
on boot of the agent.
2013-03-06 19:26:18 +01:00
Wido den Hollander
03bc74bd50 debian: Only include JAR files into the classpath 2013-03-06 19:26:18 +01:00
Wido den Hollander
72c4d6a873 packaging: Sync RPM and DEB init scripts Agent
The RPM init script was lacking some things, it is synced
now with the DEB init script.

Both prefer Java 7 over Java 6 and add the correct JAR files to the
classpath.
2013-03-05 16:10:38 +01:00
Wido den Hollander
e14e057f3d packaging: Use the JNA version from the distribution
Libvirt-java 0.4.9 works just fine with JNA 3.2.4 which is in
all distributions.

Future libvirt version require at least JNA 3.5.1 due to new methods
and memory management, but that is not our concern now.

By depending on the JNA in the distribution and adding it to the classpath
we can work just fine.
2013-03-05 16:10:38 +01:00
Wido den Hollander
ee695ba2c8 debian / rpm: When building the classpath in the init script strip last semi-column
Remove the trailing : so we don't get them double in the classpath
2013-03-01 16:47:05 +01:00
Wido den Hollander
379177fafc debian: Remove the scripts directory from the classpath
Scripts are found by paths.script in environment.properties
2013-03-01 16:47:05 +01:00
Wido den Hollander
20070ee07f debian: Packaging update for mainly the Agent
The new cloudstack-agent package wouldn't boot due to various issues.

Those all seem to be resolved.

Other changes include path changes like /etc/cloud -> /etc/cloudstack

The new package now installs, but the upgrade hasn't been tested yet.
2013-03-01 15:06:07 +01:00
Noa Resare
2f135be15f CLOUDSTACK-1415: Debian & Ubuntu packaging work
Some concepts included:

* the replace.properties location used by maven is parameterized to allow
  for a build that does not modify the currently git tracked files
* package naming is updated along the lines of what was discussed on the
  -dev mailing list and between committers at the Build a Cloud Day in Belgi
* package version pattern is updated (since we redo all package names,
  we might as well drop the epoch)
2013-02-27 15:44:46 +00:00
Wido den Hollander
a24ec2bdcc debian: Initial work to get the Debian packaging working again
Right now it isn't working yet, but this is the way it should start working
like the RPM package building is.

This commit is to clean up the rules file a bit and lay the groundwork for
the Debian packaging
2012-11-06 16:19:07 +01:00