mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
DNSSEC: remove "DNSSEC is experimental" warnings
https://fedorahosted.org/freeipa/ticket/5265 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
70d1c71e46
commit
740f7fd817
@ -2627,22 +2627,6 @@ class dnszone(DNSZoneBase):
|
||||
messages.add_message(options.get('version', VERSION_WITHOUT_CAPABILITIES),
|
||||
result, messages.ForwardersWarning())
|
||||
|
||||
def _warning_dnssec_experimental(self, result, *keys, **options):
|
||||
# add warning when user use option --dnssec
|
||||
if 'idnssecinlinesigning' in options:
|
||||
if options['idnssecinlinesigning'] is True:
|
||||
messages.add_message(options['version'], result,
|
||||
messages.DNSSECWarning(
|
||||
additional_info=_("Visit 'http://www.freeipa.org/page/Releases/4.1.0#DNSSEC_Support'.")
|
||||
))
|
||||
else:
|
||||
messages.add_message(options['version'], result,
|
||||
messages.DNSSECWarning(
|
||||
additional_info=_("If you encounter any problems please "
|
||||
"report them and restart 'named' service on affected IPA "
|
||||
"server.")
|
||||
))
|
||||
|
||||
def _warning_name_server_option(self, result, context, **options):
|
||||
if getattr(context, 'show_warning_nameserver_option', False):
|
||||
messages.add_message(
|
||||
@ -2738,7 +2722,6 @@ class dnszone_add(DNSZoneBase_add):
|
||||
result = super(dnszone_add, self).execute(*keys, **options)
|
||||
self._warning_deprecated_option(result, **options)
|
||||
self.obj._warning_forwarding(result, **options)
|
||||
self.obj._warning_dnssec_experimental(result, *keys, **options)
|
||||
self.obj._warning_name_server_option(result, context, **options)
|
||||
self.obj._warning_fw_zone_is_not_effective(result, *keys, **options)
|
||||
return result
|
||||
@ -2829,7 +2812,6 @@ class dnszone_mod(DNSZoneBase_mod):
|
||||
def execute(self, *keys, **options):
|
||||
result = super(dnszone_mod, self).execute(*keys, **options)
|
||||
self.obj._warning_forwarding(result, **options)
|
||||
self.obj._warning_dnssec_experimental(result, *keys, **options)
|
||||
self.obj._warning_name_server_option(result, context, **options)
|
||||
return result
|
||||
|
||||
|
@ -128,8 +128,6 @@ def install_check(standalone, replica, options, hostname):
|
||||
print("NOTE: DNSSEC zone signing is not enabled by default")
|
||||
print("")
|
||||
if options.dnssec_master:
|
||||
print("DNSSEC support is experimental!")
|
||||
print("")
|
||||
print("Plan carefully, replacing DNSSEC key master is not recommended")
|
||||
print("")
|
||||
print("")
|
||||
|
Loading…
Reference in New Issue
Block a user