Skip to main content

SaltStack SAP HANA XSA extension

This SaltStack extensions allows managing SAP HANA XSA systems.

THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAY

Installation

Run the following to install the SaltStack SAP Host Agent extension:

salt-call pip.install saltext.sap-xsa

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_xsa.git:
    - root: src/saltext/sap_xsa

In order to enable this, logical links under src/saltext/sap_xsa/ from _<dir_type> (where the code lives) to <dir_type> have been placed, e.g. _states -> states. This will double the source data during build, but:

  • _states is required for integrating the repo over gitfs
  • states is required for the salt loader to find the modules / states

Usage

A state using the SAP Host Agent extension looks like this:

CA certificate is present in XSA HDB:
  sap_xsa.trusted_certificate_present:
    - name: MY_CA
    - certfile: /etc/pki/trust/anchors/ca.crt
    - api_url: https://api.hdb.my.domain:443
    - password: __slot__:salt:vault.read_secret(path="xsa/HDB", key="XSA_ADMIN")
    - username: XSA_ADMIN
    - sid: HDB
    - org: SAP
    - bin: /hana/shared/HDB/xs/bin/xs
    - space: SAP
    - verify: False

Docs

See https://saltext-sap-xsa.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.

Release files for saltext.sap-xsa 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saltext.sap-xsa 1.0.0
File Size Uploaded
saltext.sap_xsa-1.0.0.tar.gz 21.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for saltext.sap-xsa 1.0.0
File Interpreter ABI Platform
saltext.sap_xsa-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 46.6 kB

Release files / saltext.sap_xsa-1.0.0.tar.gz

Download URL saltext.sap_xsa-1.0.0.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e066ade3e321e71cd8526a4841562615e81de645572226f0c40247c8be23f423
BLAKE2b-256 checksum
How to use checksums
b9b25a55a5cce3ad80fa7ef12f1300c1bf3ebf7f25e373c318e430c7cca6156b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release files / saltext.sap_xsa-1.0.0-py2.py3-none-any.whl

Download URL saltext.sap_xsa-1.0.0-py2.py3-none-any.whl
Size 25.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a77d86171dd31496dd00a38a9714e1236de8cefdb23f5f7051c4ef2b3955b030
BLAKE2b-256 checksum
How to use checksums
65bbdeb518d259fe144e5e2f3308ad0e27ba655e8d2cc745bf498673c8600c20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page