Skip to main content

SaltStack extension for the SAP HANA XSA

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saltext.sap_xsa-1.0.0.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

saltext.sap_xsa-1.0.0-py2.py3-none-any.whl (25.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file saltext.sap_xsa-1.0.0.tar.gz.

File metadata

  • Download URL: saltext.sap_xsa-1.0.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for saltext.sap_xsa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e066ade3e321e71cd8526a4841562615e81de645572226f0c40247c8be23f423
MD5 9021eacf2c9a289e64b64a1a826cf8fc
BLAKE2b-256 b9b25a55a5cce3ad80fa7ef12f1300c1bf3ebf7f25e373c318e430c7cca6156b

See more details on using hashes here.

File details

Details for the file saltext.sap_xsa-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: saltext.sap_xsa-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for saltext.sap_xsa-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a77d86171dd31496dd00a38a9714e1236de8cefdb23f5f7051c4ef2b3955b030
MD5 63065d44f35e5dd7d22a5ecf81b7dd03
BLAKE2b-256 65bbdeb518d259fe144e5e2f3308ad0e27ba655e8d2cc745bf498673c8600c20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page