Skip to main content

SaltStack extension for sapcontrol

Project description

SaltStack sapcontrol extension

This SaltStack extensions allows interfacing sapcontrol running on minions.

THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAY

Installation

Run the following to install the SaltStack sapcontrol extension:

salt-call pip.install saltext.sap-control

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_control.git:
    - root: src/saltext/sap_control

In order to enable this, logical links under src/saltext/sap_control/ 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 sapcontrol extension looks like this:

SLD is configured and data is transfered for S4H / 00:
  sap_control.sld_registered:
    - name: /usr/sap/S4H/SYS/global/slddest.cfg
    - sid: S4H
    - instance_number: '00'
    - username: s4hadm
    - password: __slot__:salt:vault.read_secret(path="os", key="s4hadm")
    - sld_user: SLD_DS_USER
    - sld_password: __slot__:salt:vault.read_secret(path="sld", key="SLD_DS_USER")
    - sld_host: sol.my.domain
    - sld_port: 50000
    - log_files:
      - /usr/sap/S4H/D00/work/dev_sldregs
      - /usr/sap/S4h/D00/work/dev_sldregk
      - /usr/sap/S4H/D00/work/dev_krnlreg

Docs

See https://saltext-sap-control.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_control-1.0.0.tar.gz (34.9 kB view details)

Uploaded Source

Built Distribution

saltext.sap_control-1.0.0-py2.py3-none-any.whl (37.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: saltext.sap_control-1.0.0.tar.gz
  • Upload date:
  • Size: 34.9 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_control-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b5f3259b1072c02c92566cef859168702905cfcc87505b28aee3615c8f18be5b
MD5 c386c8f692f2e7bba7a95b5b2fd74b94
BLAKE2b-256 c31c10b12d06a9d7fd4383a0e29877d3c79785a79978f2000e842965d999c98a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: saltext.sap_control-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 37.2 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_control-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b7079f55702125e969510e382fe1c41fc421741fe34d9c2ca2bf7e2fee194274
MD5 c4ad54b27b8734ec6f25c141213ba96c
BLAKE2b-256 0cbd396639af0b7403ad6391f49a1ba0d85dfef0e70700bc8323f7f7d88e25f3

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