From ef39a1ca5d0f3a365ff32bbfc2cbb7145d6feb59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 11 Nov 2019 11:28:12 +0100 Subject: [PATCH] use PVE::DataCenterConfig MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to make sure that the corresponding cfs_read_file works() works. Signed-off-by: Fabian Grünbichler --- debian/control | 2 ++ src/PVE/HA/Env/PVE2.pm | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/control b/debian/control index 002c046..38690cd 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Build-Depends: debhelper (>= 10~), libglib-perl, libgtk3-perl, libpve-access-control, + libpve-cluster-perl, libpve-common-perl, lintian, pve-cluster, @@ -17,6 +18,7 @@ Section: perl Priority: optional Architecture: any Depends: libjson-perl, + libpve-cluster-perl, libpve-common-perl, pve-cluster (>= 3.0-17), # TODO: for PVE 6 re-add thos two, we just removed them to avoid a dpkg issue diff --git a/src/PVE/HA/Env/PVE2.pm b/src/PVE/HA/Env/PVE2.pm index 83145dc..5e0a683 100644 --- a/src/PVE/HA/Env/PVE2.pm +++ b/src/PVE/HA/Env/PVE2.pm @@ -9,6 +9,7 @@ use IO::Socket::UNIX; use PVE::SafeSyslog; use PVE::Tools; use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_write_file cfs_lock_file); +use PVE::DataCenterConfig; use PVE::INotify; use PVE::RPCEnvironment; -- 2.39.2