Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b6556cf01 | ||
|
|
61c83a368c |
No files matched your search
@@ -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.3"
|
__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__
|
||||||
|
|||||||
@@ -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