Blob Blame History Raw
From 7902bb8fe7f97fbbc93e7001a6c4e8a445dcb44e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Valentin=20Vidi=C4=87?= <vvidic@valentin-vidic.from.hr>
Date: Wed, 15 Dec 2021 20:32:26 +0100
Subject: [PATCH 1/2] Fix snmp client

Required constant is missing causing the command to fail on startup and breaking the pcs_snmp_agent service.
---
 pcsd/pcsd-cli-main.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pcsd/pcsd-cli-main.rb b/pcsd/pcsd-cli-main.rb
index 29b9006d..be72d543 100644
--- a/pcsd/pcsd-cli-main.rb
+++ b/pcsd/pcsd-cli-main.rb
@@ -10,6 +10,7 @@ require 'remote.rb'
 
 
 PCS = get_pcs_path()
+PCS_INTERNAL = get_pcs_internal_path()
 $logger_device = StringIO.new
 $logger = Logger.new($logger_device)
 early_log($logger)
-- 
2.34.1