Skip to main content

SaltStack extension for the SAP Host Agent

Project description

SaltStack SAP Host Agent extension

This SaltStack extensions allows interfaces SAP Host Agents running on minions.

THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAY

Installation

Run the following to install the SaltStack SAPCAR extension:

salt-call pip.install saltext.sap-hostctrl

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_hostctrl.git:
    - root: src/saltext/sap_hostctrl

In order to enable this, logical links under src/saltext/sap_hostctrl/ 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 gitfs
  • modules is required for the salt loader to find the modules / states

Usage

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

Outside Discovery is executed:
  sap_hostctrl.outside_discovery_executed:
    - name: sol.my.domain
    - sld_port: 50000
    - sld_username: SLD_DS_USER
    - sld_password: __slot__:salt:vault.read_secret(path="SAP", key="SLD_DS_USER")
    - username: sapadm
    - password: __slot__:salt:vault.read_secret(path="os", key="sapadm")

Docs

See https://saltext-sap-hostctrl.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_hostctrl-1.0.0.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

saltext.sap_hostctrl-1.0.0-py2.py3-none-any.whl (31.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: saltext.sap_hostctrl-1.0.0.tar.gz
  • Upload date:
  • Size: 28.4 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_hostctrl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1eeb71ab314e94523a5509b87a8e3497cb7711d776302edc311a4bd1a49d6e16
MD5 45eee98330aff9f9d42bd82c2065100d
BLAKE2b-256 cdca5ebb42d7e9c3166612497c78bc949da3149da7e710c3f690ee8a2443ac5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: saltext.sap_hostctrl-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.9 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_hostctrl-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f25ad7020e15147312626614296d654f4519638acfbd46780f77130d4a0740c3
MD5 6b472712f57605f52c7fc77c5fef5df8
BLAKE2b-256 a2af961a7e1e02fc857f06ad941b0778395b1225ab4ced7255968f9f955d0cb6

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