modified: pyproject.toml
renamed: src/netbox_bind_provisioner/__init__.py -> src/netbox_plugin_bind_provisioner/__init__.py renamed: src/netbox_bind_provisioner/management/commands/bind-transfer-endpoint.py -> src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
This commit is contained in:
1 parent
61c83a368c
commit
7b6556cf01
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ package-dir = { "" = "src" }
|
|||||||
where = ["src"]
|
where = ["src"]
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = { attr = "netbox_bind_provisioner.__version__" }
|
version = { attr = "netbox_plugin_bind_provisioner.__version__" }
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://github.com/Suraxius/netbox-plugin-bind-provisioner"
|
Homepage = "https://github.com/Suraxius/netbox-plugin-bind-provisioner"
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ from django.utils.translation import gettext_lazy as _
|
|||||||
from django.dispatch import receiver
|
from django.dispatch import receiver
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
__version__ = "0.9.4"
|
__version__ = "0.9.5"
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ logging.basicConfig(
|
|||||||
|
|
||||||
|
|
||||||
class BindProvisionerConfig(PluginConfig):
|
class BindProvisionerConfig(PluginConfig):
|
||||||
name = "netbox_bind_provisioner"
|
name = "netbox_plugin_bind_provisioner"
|
||||||
verbose_name = "Netbox Bind Provisioner"
|
verbose_name = "Netbox Bind Provisioner"
|
||||||
description = "Provisions Zones to a Bind Server configured as hidden master"
|
description = "Provisions Zones to a Bind Server configured as hidden master"
|
||||||
version = __version__
|
version = __version__
|
||||||
+1
-1
@@ -598,7 +598,7 @@ class Command(BaseCommand):
|
|||||||
help = "Run a minimal AXFR DNS server using NetBox DNS plugin data"
|
help = "Run a minimal AXFR DNS server using NetBox DNS plugin data"
|
||||||
|
|
||||||
def loadSettings(self):
|
def loadSettings(self):
|
||||||
self.settings = settings.PLUGINS_CONFIG.get("netbox_bind_provisioner", None)
|
self.settings = settings.PLUGINS_CONFIG.get("netbox_plugin_bind_provisioner", None)
|
||||||
if not self.settings:
|
if not self.settings:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"Command failed to initialize due to missing settings. Terminating Netbox."
|
"Command failed to initialize due to missing settings. Terminating Netbox."
|
||||||
Reference in new issue
Block a user