From: Frank Brehm Date: Wed, 17 Nov 2021 13:08:51 +0000 (+0100) Subject: Changing pdns module imports X-Git-Tag: 1.5.11~2^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=366f305276544df2ada65922c411f00a7f6c7d36;p=pixelpark%2Fcreate-terraform.git Changing pdns module imports --- diff --git a/lib/cr_tf/config.py b/lib/cr_tf/config.py index 02dc702..6722458 100644 --- a/lib/cr_tf/config.py +++ b/lib/cr_tf/config.py @@ -3,7 +3,7 @@ """ @author: Frank Brehm @contact: frank.brehm@pixelpark.com -@copyright: © 2019 by Frank Brehm, Berlin +@copyright: © 2021 by Frank Brehm, Berlin @summary: A module for providing a configuration """ from __future__ import absolute_import @@ -23,16 +23,16 @@ from fb_tools.config import BaseConfiguration from fb_tools.common import to_bool, RE_FQDN, is_sequence, pp -from fb_tools.pdns import DEFAULT_PORT as DEFAULT_PDNS_API_PORT -from fb_tools.pdns import DEFAULT_TIMEOUT as DEFAULT_PDNS_API_TIMEOUT # noqa -from fb_tools.pdns import DEFAULT_API_PREFIX as DEFAULT_PDNS_API_PREFIX # noqa -from fb_tools.pdns import DEFAULT_USE_HTTPS as DEFAULT_PDNS_API_USE_HTTPS +from fb_pdnstools import DEFAULT_PORT as DEFAULT_PDNS_API_PORT +from fb_pdnstools import DEFAULT_TIMEOUT as DEFAULT_PDNS_API_TIMEOUT # noqa +from fb_pdnstools import DEFAULT_API_PREFIX as DEFAULT_PDNS_API_PREFIX # noqa +from fb_pdnstools import DEFAULT_USE_HTTPS as DEFAULT_PDNS_API_USE_HTTPS from .errors import CrTfConfigError from .xlate import XLATOR -__version__ = '1.5.2' +__version__ = '1.5.3' LOG = logging.getLogger(__name__) _ = XLATOR.gettext diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index b38de22..d7b24a0 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -3,7 +3,7 @@ """ @author: Frank Brehm @contact: frank.brehm@pixelpark.com -@copyright: © 2019 by Frank Brehm, Berlin +@copyright: © 2021 by Frank Brehm, Berlin @summary: A handler module for underlaying actions """ from __future__ import absolute_import, print_function @@ -53,8 +53,8 @@ from fb_tools.vsphere.server import VsphereServer from fb_tools.vsphere.errors import VSphereExpectedError -from fb_tools.pdns.server import PowerDNSServer -from fb_tools.pdns.errors import PowerDNSHandlerError +from fb_pdnstools.server import PowerDNSServer +from fb_pdnstools.errors import PowerDNSHandlerError from . import MIN_VERSION_TERRAFORM, MAX_VERSION_TERRAFORM from . import MIN_VERSION_VSPHERE_PROVIDER @@ -67,7 +67,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.6.5' +__version__ = '3.6.6' LOG = logging.getLogger(__name__) _ = XLATOR.gettext