[pve-devel] [PATCH cluster 1/2] add ceph.conf to observed files

Dominik Csapak d.csapak at proxmox.com
Wed Dec 19 11:24:37 CET 2018


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 data/PVE/Cluster.pm | 1 +
 data/src/status.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index f4dd1a3..f96de2f 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -86,6 +86,7 @@ my $observed = {
     'ha/groups.cfg' => 1,
     'ha/fence.cfg' => 1,
     'status.cfg' => 1,
+    'ceph.conf' => 1,
 };
 
 # only write output if something fails
diff --git a/data/src/status.c b/data/src/status.c
index a73fa87..9b5d4c6 100644
--- a/data/src/status.c
+++ b/data/src/status.c
@@ -90,6 +90,7 @@ static memdb_change_t memdb_change_array[] = {
 	{ .path = "ha/fence.cfg" },
 	{ .path = "status.cfg" },
 	{ .path = "replication.cfg" },
+	{ .path = "ceph.conf" },
 };
 
 static GMutex mutex;
-- 
2.11.0





More information about the pve-devel mailing list