]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm:add missing kernel_security property 39112/head
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 27 Jan 2021 20:40:58 +0000 (09:40 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Wed, 27 Jan 2021 20:40:58 +0000 (09:40 +1300)
The propery decorator had gone missing which meant
the dump of host facts was missing the kernel security
(LSM) settings. This patch just adds the @property
decorator back

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/cephadm/cephadm

index 4739a471e619a4045cb20734bbd2a3e2a6e7c589..3125a910d35f3f6a49d7bbde6300329c0075d51e 100755 (executable)
@@ -6112,6 +6112,7 @@ class HostFacts():
         up_secs, _ = raw_time.split()
         return float(up_secs)
 
+    @property
     def kernel_security(self):
         # type: () -> Optional[Dict[str, str]]
         """Determine the security features enabled in the kernel - SELinux, AppArmor"""