Signed-off-by: Michael Hanselmann <[email protected]>
---
lib/cmdlib.py | 3 +--
lib/constants.py | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index 1f70ccf..6180e85 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -1336,8 +1336,7 @@ class LUVerifyCluster(LogicalUnit):
master_files = [constants.CLUSTER_CONF_FILE]
file_names = ssconf.SimpleStore().GetFileList()
- file_names.append(constants.SSL_CERT_FILE)
- file_names.append(constants.RAPI_CERT_FILE)
+ file_names.extend(constants.ALL_CERT_FILES)
file_names.extend(master_files)
local_checksums = utils.FingerprintFiles(file_names)
diff --git a/lib/constants.py b/lib/constants.py
index 4fff9e7..4d9b3bb 100644
--- a/lib/constants.py
+++ b/lib/constants.py
@@ -113,6 +113,8 @@ SYSCONFDIR = _autoconf.SYSCONFDIR
TOOLSDIR = _autoconf.TOOLSDIR
CONF_DIR = SYSCONFDIR + "/ganeti"
+ALL_CERT_FILES = frozenset([SSL_CERT_FILE, RAPI_CERT_FILE])
+
MASTER_SOCKET = SOCKET_DIR + "/ganeti-master"
NODED = "ganeti-noded"
--
1.6.6