Clean up Debian control and add API package

This commit is contained in:
Joshua Boniface 2019-07-05 22:22:28 -04:00
parent 2ce08b6369
commit 0a96e26bc6
4 changed files with 23 additions and 4 deletions

16
debian/control vendored
View File

@ -11,7 +11,7 @@ Architecture: all
Depends: python3-kazoo, python3-psutil, python3-apscheduler, python3-libvirt, python3-psycopg2, python3-dnspython, python3-yaml, ipmitool, libvirt-daemon-system, arping, vlan, bridge-utils, dnsmasq, nftables, pdns-server, pdns-backend-pgsql
Suggests: pvc-client-cli
Description: Parallel Virtual Cluster virtualization daemon (Python 3)
The Parallel Virtual Cluster provides a management solution for QEMU/KVM virtual clusters.
A KVM/Zookeeper/Ceph-based VM and private cloud manager
.
This package installs the PVC node daemon
@ -19,15 +19,23 @@ Package: pvc-client-common
Architecture: all
Depends: python3-kazoo, python3-psutil, python3-click, python3-lxml
Description: Parallel Virtual Cluster common client libraries (Python 3)
The Parallel Virtual Cluster provides a management solution for QEMU/KVM virtual clusters.
A KVM/Zookeeper/Ceph-based VM and private cloud manager
.
This package installs the common client libraries
Package: pvc-client-cli
Architecture: all
Depends: pvc-client-common, python3-yaml, python3-netifaces, python3-dialog, python3-paramiko
Depends: pvc-client-common, python3-yaml, python3-netifaces, python3-dialog
Description: Parallel Virtual Cluster client (Python 3)
The Parallel Virtual Cluster provides a management solution for QEMU/KVM virtual clusters.
A KVM/Zookeeper/Ceph-based VM and private cloud manager
.
This package installs the PVC command-line client
Package: pvc-client-api
Architecture: all
Depends: pvc-client-common, python3-yaml
Description: Parallel Virtual Cluster client (Python 3)
A KVM/Zookeeper/Ceph-based VM and private cloud manager
.
This package installs the PVC API client daemon

3
debian/pvc-client-api.install vendored Normal file
View File

@ -0,0 +1,3 @@
client-api/api.py usr/share/pvc
client-api/api_lib usr/share/pvc
client-api/pvc-api.service lib/systemd/system

4
debian/pvc-client-api.postinst vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Install client binary to /usr/bin via symlink
ln -s /usr/share/pvc/api.py /usr/bin/pvc-api

4
debian/pvc-client-api.prerm vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Remove client binary symlink
rm -f /usr/bin/pvc-api