cli_names=list(admin_password.cli_names) + ['-w'], ) @admin_password.default_getter def admin_password(self): if self.principal: return self.auto_password return super(CompatServerReplicaInstall, self).admin_password @property def host_password(self): admin_password = (super(CompatServerReplicaInstall, self).admin_password) if not self.principal or admin_password: return self.auto_password return super(CompatServerReplicaInstall, self).host_password ReplicaInstall = cli.install_tool( CompatServerReplicaInstall, command_name='ipa-replica-install', log_file_name=paths.IPAREPLICA_INSTALL_LOG, debug_option=True, ) def run(): ReplicaInstall.run_cli()
if not self.principal: return self.password return super(StandaloneClientInstall, self).host_password prompt_password = knob( None, description="Prompt for a password to join the IPA realm", cli_names='-W', ) on_master = knob( None, deprecated=True, ) ClientInstall = cli.install_tool( StandaloneClientInstall, command_name='ipa-client-install', log_file_name=paths.IPACLIENT_INSTALL_LOG, debug_option=True, verbose=True, console_format='%(message)s', uninstall_log_file_name=paths.IPACLIENT_UNINSTALL_LOG, ) def run(): ClientInstall.run_cli()
@admin_password.default_getter def admin_password(self): if self.principal: return self.auto_password return super(CompatServerReplicaInstall, self).admin_password @property def host_password(self): admin_password = ( super(CompatServerReplicaInstall, self).admin_password) if not self.principal or admin_password: return self.auto_password return super(CompatServerReplicaInstall, self).host_password ReplicaInstall = cli.install_tool( CompatServerReplicaInstall, command_name='ipa-replica-install', log_file_name=paths.IPAREPLICA_INSTALL_LOG, console_format='%(message)s', debug_option=True, verbose=True, ) def run(): ReplicaInstall.run_cli()
) @admin_password.default_getter def admin_password(self): if self.replica_file is None and self.principal: return self.auto_password return super(CompatServerReplicaInstall, self).admin_password @property def host_password(self): admin_password = ( super(CompatServerReplicaInstall, self).admin_password) if (self.replica_file is None and (not self.principal or admin_password)): return self.auto_password return super(CompatServerReplicaInstall, self).host_password ReplicaInstall = cli.install_tool( CompatServerReplicaInstall, command_name='ipa-replica-install', log_file_name=paths.IPAREPLICA_INSTALL_LOG, debug_option=True, ) def run(): ReplicaInstall.run_cli()
@admin_password.default_getter def admin_password(self): if self.principal: return self.auto_password return super(CompatServerReplicaInstall, self).admin_password @property def host_password(self): admin_password = (super(CompatServerReplicaInstall, self).admin_password) if not self.principal or admin_password: return self.auto_password return super(CompatServerReplicaInstall, self).host_password ReplicaInstall = cli.install_tool( CompatServerReplicaInstall, command_name='ipa-replica-install', log_file_name=paths.IPAREPLICA_INSTALL_LOG, console_format='%(message)s', debug_option=True, verbose=True, ) def run(): ReplicaInstall.run_cli()
return self.password return super(StandaloneClientInstall, self).host_password prompt_password = knob( None, description="Prompt for a password to join the IPA realm", cli_names='-W', ) on_master = knob( None, deprecated=True, ) ClientInstall = cli.install_tool( StandaloneClientInstall, command_name='ipa-client-install', log_file_name=paths.IPACLIENT_INSTALL_LOG, debug_option=True, verbose=True, console_format='%(message)s', uninstall_log_file_name=paths.IPACLIENT_UNINSTALL_LOG, ignore_return_codes=(client.CLIENT_NOT_CONFIGURED,), ) def run(): ClientInstall.run_cli()
return self.password return super(StandaloneClientInstall, self).host_password prompt_password = knob( None, description="Prompt for a password to join the IPA realm", cli_names='-W', ) on_master = knob( None, deprecated=True, ) ClientInstall = cli.install_tool( StandaloneClientInstall, command_name='ipa-client-install', log_file_name=paths.IPACLIENT_INSTALL_LOG, debug_option=True, verbose=True, console_format='%(message)s', uninstall_log_file_name=paths.IPACLIENT_UNINSTALL_LOG, ignore_return_codes=(client.CLIENT_NOT_CONFIGURED, ), ) def run(): ClientInstall.run_cli()
bases=ServerMasterInstall.new_dm_password, cli_names=['--ds-password', '-p'], ) new_admin_password = knob( # pylint: disable=no-member bases=ServerMasterInstall.new_admin_password, cli_names=(list(ServerMasterInstall.new_admin_password.cli_names) + ['-a']), ) ip_addresses = knob( # pylint: disable=no-member bases=ServerMasterInstall.ip_addresses, description="Master Server IP Address. This option can be used " "multiple times", ) ServerInstall = cli.install_tool( CompatServerMasterInstall, command_name='ipa-server-install', log_file_name=paths.IPASERVER_INSTALL_LOG, debug_option=True, uninstall_log_file_name=paths.IPASERVER_UNINSTALL_LOG, ) def run(): ServerInstall.run_cli()
dm_password = extend_knob( ServerMasterInstall.dm_password, # pylint: disable=no-member cli_names=['--ds-password', '-p'], ) admin_password = ServerMasterInstall.admin_password admin_password = extend_knob( admin_password, # pylint: disable=no-member cli_names=list(admin_password.cli_names) + ['-a'], ) ip_addresses = extend_knob( ServerMasterInstall.ip_addresses, # pylint: disable=no-member description="Master Server IP Address. This option can be used " "multiple times", ) ServerInstall = cli.install_tool( CompatServerMasterInstall, command_name='ipa-server-install', log_file_name=paths.IPASERVER_INSTALL_LOG, debug_option=True, uninstall_log_file_name=paths.IPASERVER_UNINSTALL_LOG, ) def run(): ServerInstall.run_cli()
cli_names=['--ds-password', '-p'], ) admin_password = ServerMasterInstall.admin_password admin_password = extend_knob( admin_password, # pylint: disable=no-member cli_names=list(admin_password.cli_names) + ['-a'], ) ip_addresses = extend_knob( ServerMasterInstall.ip_addresses, # pylint: disable=no-member description="Master Server IP Address. This option can be used " "multiple times", ) ServerInstall = cli.install_tool( CompatServerMasterInstall, command_name='ipa-server-install', log_file_name=paths.IPASERVER_INSTALL_LOG, console_format='%(message)s', debug_option=True, verbose=True, uninstall_log_file_name=paths.IPASERVER_UNINSTALL_LOG, ) def run(): ServerInstall.run_cli()