]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Minor changes
authorFrank Brehm <frank@brehm-online.com>
Mon, 17 Oct 2022 06:56:10 +0000 (08:56 +0200)
committerFrank Brehm <frank@brehm-online.com>
Mon, 17 Oct 2022 06:56:10 +0000 (08:56 +0200)
lib/pp_admintools/app/dns_deploy_zones.py
lib/pp_admintools/app/remove_ldap_user.py
lib/pp_admintools/app/set_ldap_password.py

index c2cbcdf709825dcc259ba2b1bca8db1dfd4ef8c7..380b6b0c8526f73c5949cd7ef428de17d904abac 100644 (file)
@@ -44,7 +44,7 @@ from ..config.dns_deploy_zones import DnsDeployZonesConfig
 
 from ..xlate import XLATOR
 
-__version__ = '0.8.3'
+__version__ = '0.8.4'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -62,6 +62,8 @@ class PpDeployZonesApp(PpPDNSApplication):
     of the BIND named daemon.
     """
 
+    show_simulate_option = True
+
     re_ipv4_zone = re.compile(r'^((?:\d+\.)+)in-addr\.arpa\.$')
     re_ipv6_zone = re.compile(r'^((?:[\da-f]\.)+)ip6\.arpa\.$')
 
index 9c75561b53b99a20cf99fc6fb905fce0a78ac3ef..28921c80565481efd33bd7610404618a9a2664a6 100644 (file)
@@ -25,7 +25,7 @@ from . import AbortAppError, TimeoutOnPromptError
 from .ldap import LdapAppError, FatalLDAPError
 from .ldap import BaseLdapApplication
 
-__version__ = '0.5.3'
+__version__ = '0.5.4'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -43,6 +43,8 @@ class RemoveLdapUserError(LdapAppError):
 class RemoveLdapUserApplication(BaseLdapApplication):
     """Application class for disabling or removing a user from LDAP."""
 
+    show_simulate_option = True
+
     default_nologin_shell = "/usr/sbin/nologin"
     value_inactive = 'inactive'
     raw_empty_passwd = 'none'
index 050c0096ed99cc425487b14173736864a85fcf23..06db877806259c92055a6275f7a3fd5e54e14a50 100644 (file)
@@ -36,7 +36,7 @@ from .ldap import LdapAppError, FatalLDAPError
 from .ldap import BaseLdapApplication
 from .ldap import PasswordFileOptionAction
 
-__version__ = '0.6.1'
+__version__ = '0.6.2'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -54,6 +54,8 @@ class SetLdapPasswordError(LdapAppError):
 class SetLdapPasswordApplication(BaseLdapApplication):
     """Application class for setting a LDAP password."""
 
+    show_simulate_option = True
+
     current_userid = os.getuid()
     current_user = None
     try: