saltext.sap._modules.sap#
SaltStack extension for SAP Copyright (C) 2022 SAP UCC Magdeburg
SAP general functionality execution module#
SaltStack execution module for general SAP system control.
- codeauthor
Alexander Wilke, Benjamin Wegener
- maturity
new
- depends
requests sap_hostctrl sap_control
- platform
All
This module implements functions for controlling SAP systems.
- saltext.sap._modules.sap.__virtual__()[source]#
only load this module if all libraries are available
- saltext.sap._modules.sap.get_system_data(sid, username, password, verify=True, **kwargs)[source]#
Retrieves information about an SAP system installed on the host. The function returns a dictionary with system information. The information retrieved depends on the system type.
Note
Requires
service/admin_users = <username>
in every instance profile or in theDEFAULT
profile of the SAP System.Note
Requires
service/admin_users = <username>
in the SAP Host Agent profile ifusername
!=sapadm
.- sid
ID of system to get.
- username
User for authentication, i.e.
sapadm
.- password
Password for authentication.
- verify
Verify SSL connection, default is
True
.
CLI Example:
salt "*" sap.get_system_data sid="S4H" username="sapadm" password="Abcd1234!"