YaST2 Developers Documentation: Configuration of ca-management

Configuration of ca-management

clients/ca-management_auto.ycp
Client for autoinstallation
  • Ryan Partridge

This module has an unstable interface.

This is a client for autoinstallation. It takes its arguments, goes through the configuration and return the setting. Does not do any changes to the configuration.

Imports

  • CaMgm
  • CaMgm
  • Hostname
  • Progress
  • Progress
  • Progress
  • Report
  • Summary
  • Users

Includes

  • ca-management/new_cert_read_write.ycp
  • ca-management/util.ycp
  • ca-management/wizards.ycp

Local Functions

Info:

Parameters:
function to execute
map /list of ca-management settings
Return value:
edited settings, Summary or boolean on success depending on called function
Example
 map mm = $[ "FAIL_DELAY" : "77" ];
 map ret = WFM::CallFunction ("ca-management_auto", [ "Summary", mm ]);
local getAutoCountryList () -> list<term>

Creates Country items

Return value:
a list country items formated for a UI table
local caAutoSequence () -> any

Autoyast configuration of ca-management For use with autoinstallation.

Return value:
sequence result
local Import (map settings) -> boolean

Get all ca-management settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
local Export () -> map

Dump the ca-management settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
local AutoPackages () -> map

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value:
with 2 lists.
local Summary () -> string

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
local Write () -> boolean

Write all ca-management settings

Return value:
true on success
local Read () -> boolean

Read ca-management defaults

Return value:
true on success