SaltStack extension for SAP NetWeaver AS ABAP
Project description
SaltStack SAP NetWeaver AS ABAP extension
This SaltStack extensions allows managing SAP NetWeaver AS ABAP systems over pyrfc
resp. the SAP NW RFC SDK.
THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAY
Installation
Run the following to install the SaltStack SAP NetWeaver AS ABAP extention:
salt-call pip.install saltext.sap-nwabap
Note that this will install pyrfc
as a dependency which requires the correct setup of the SAP NW RFC SDK as a
prerequisite. See https://github.com/SAP/PyRFC for more information.
Keep in mind that this package must be installed on every minion that should utilize the states and execution modules.
Alternatively, you can add this repository directly over gitfs
gitfs_remotes:
- https://github.com/SAPUCC/saltext-sap_nwabap.git:
- root: src/saltext/sap_nwabap
In order to enable this, logical links under src/saltext/sap_nwabap/
from _<dir_type>
(where the code lives) to <dir_type>
have been placed, e.g. _modules
-> modules
. This will double the source data during build, but:
_modules
is required for integrating the repo over gitfsmodules
is required for the salt loader to find the modules / states
Usage
A state using the SAP NetWeaver AS ABAP extension looks like this:
Technical user SALT for SAP system S4H / client 000 is present:
sap_nwabap.user_present:
- name: SALT
- sid: S4H
- client: "000"
- message_server_host: s4h
- message_server_port: 3600
- logon_group: SPACE
- username: DDIC
- password: __slot__:salt:vault.read_secret(path="nwabap/S4H/000", key="DDIC")
- user_password: __slot__:salt:vault.read_secret(path="nwabap/S4H/000", key="SALT")
- attributes:
logon_data:
user_type: B
user_valid_to: "99991231"
address_data:
first_name: SALT_SERVICE_USER
last_name: SALT_SERVICE_USER
- roles:
- name: Z_SALT_ROLE
valid_to: 99991231
- profiles:
- SAP_ALL
- unlock_user: True
Docs
See https://saltext-sap-nwabap.readthedocs.io/ for the documentation.
Contributing
We would love to see your contribution to this project. Please refer to CONTRIBUTING.md
for further details.
License
This project is licensed under GPLv3. See LICENSE.md
for the license text and COPYRIGHT.md
for the general copyright notice.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for saltext.sap_nwabap-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0339b82dfe112d8b18ee67c957694b24b1c7163e3e3375c5f7ba507af0f37f64 |
|
MD5 | 9e481513d4f05b9f8194120ddfa58ee7 |
|
BLAKE2b-256 | e0558605be4df7fa33ed2dda48183d19a3584993b663c83de1dd1e69ce87a5cb |