pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0068-fix-typo-in-BasePathNamespace-member-pointing-to-ods.patch

590d18
From e106329ac5dbbbcf1e303d1311cd0d742f5d8803 Mon Sep 17 00:00:00 2001
590d18
From: Martin Babinsky <mbabinsk@redhat.com>
590d18
Date: Thu, 13 Aug 2015 15:03:05 +0200
590d18
Subject: [PATCH] fix typo in BasePathNamespace member pointing to ods exporter
590d18
 config
590d18
590d18
Reviewed-By: Martin Basti <mbasti@redhat.com>
590d18
---
590d18
 ipaplatform/base/paths.py                | 2 +-
590d18
 ipaserver/install/ipa_backup.py          | 2 +-
590d18
 ipaserver/install/odsexporterinstance.py | 2 +-
590d18
 3 files changed, 3 insertions(+), 3 deletions(-)
590d18
590d18
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
590d18
index 4c93c1f7162b0aeb4f798ef84e1ac8db4573518b..0dd3c7fda3020264a1ace8f2d13557cfddf18c2d 100644
590d18
--- a/ipaplatform/base/paths.py
590d18
+++ b/ipaplatform/base/paths.py
590d18
@@ -119,7 +119,7 @@ class BasePathNamespace(object):
590d18
     SYSCONFIG_DIRSRV_PKI_IPA_DIR = "/etc/sysconfig/dirsrv-PKI-IPA"
590d18
     SYSCONFIG_DIRSRV_SYSTEMD = "/etc/sysconfig/dirsrv.systemd"
590d18
     SYSCONFIG_IPA_DNSKEYSYNCD = "/etc/sysconfig/ipa-dnskeysyncd"
590d18
-    SYSOCNFIG_IPA_ODS_EXPORTER = "/etc/sysconfig/ipa-ods-exporter"
590d18
+    SYSCONFIG_IPA_ODS_EXPORTER = "/etc/sysconfig/ipa-ods-exporter"
590d18
     SYSCONFIG_HTTPD = "/etc/sysconfig/httpd"
590d18
     SYSCONFIG_KRB5KDC_DIR = "/etc/sysconfig/krb5kdc"
590d18
     SYSCONFIG_NAMED = "/etc/sysconfig/named"
590d18
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py
590d18
index f7e032ae572f404f84ce48c1a5d72e78c31b4766..1bb6f810b16c8344ab957dd6259983189a88e89f 100644
590d18
--- a/ipaserver/install/ipa_backup.py
590d18
+++ b/ipaserver/install/ipa_backup.py
590d18
@@ -132,7 +132,7 @@ class Backup(admintool.AdminTool):
590d18
         paths.SYSCONFIG_KRB5KDC_DIR,
590d18
         paths.SYSCONFIG_PKI_CA_PKI_CA_DIR,
590d18
         paths.SYSCONFIG_IPA_DNSKEYSYNCD,
590d18
-        paths.SYSOCNFIG_IPA_ODS_EXPORTER,
590d18
+        paths.SYSCONFIG_IPA_ODS_EXPORTER,
590d18
         paths.SYSCONFIG_NAMED,
590d18
         paths.SYSCONFIG_ODS,
590d18
         paths.ETC_SYSCONFIG_AUTHCONFIG,
590d18
diff --git a/ipaserver/install/odsexporterinstance.py b/ipaserver/install/odsexporterinstance.py
590d18
index c37095cfc3bba8c6724f45d23293bdf6f4a200ee..248943d6c0ca4b71815bcf7526d575842f6ce426 100644
590d18
--- a/ipaserver/install/odsexporterinstance.py
590d18
+++ b/ipaserver/install/odsexporterinstance.py
590d18
@@ -86,7 +86,7 @@ class ODSExporterInstance(service.Service):
590d18
             root_logger.error("DNSKeyExporter service already exists")
590d18
 
590d18
     def __setup_key_exporter(self):
590d18
-        installutils.set_directive(paths.SYSOCNFIG_IPA_ODS_EXPORTER,
590d18
+        installutils.set_directive(paths.SYSCONFIG_IPA_ODS_EXPORTER,
590d18
                                    'SOFTHSM2_CONF',
590d18
                                    paths.DNSSEC_SOFTHSM2_CONF,
590d18
                                    quotes=False, separator='=')
590d18
-- 
590d18
2.4.3
590d18