Skip to main content

SaltStack extension to handle SAPCAR archives

Project description

SaltStack SAPCAR extension

This SaltStack extention allows the handling of SAPCAR archives over states. Right now, only extraction is supported as it is the biggest use case.

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-car

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_car.git:
    - root: src/saltext/sap_car

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

SAProuter is extracted:
  sap_car.extracted:
    - name: /mnt/nfs/saprouter.sar
    - output_dir: /usr/sap/saprouter/
    - user: root
    - group: root
    - require:
      - pkg: SAPCAR is installed

Docs

See https://saltext-sap-car.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_car-1.0.2.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

saltext.sap_car-1.0.2-py2.py3-none-any.whl (23.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file saltext.sap_car-1.0.2.tar.gz.

File metadata

  • Download URL: saltext.sap_car-1.0.2.tar.gz
  • Upload date:
  • Size: 19.2 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_car-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5d5769e6a29972629caf767e91d0b2c38fb80bcd7f8937f81670853fe2259b04
MD5 28e8b0eeb543a19328330b8e6e498fdd
BLAKE2b-256 fa8cdf2cfc3687de16b8a05c4191a8f314ca02f65c83c989da6880123a459c60

See more details on using hashes here.

File details

Details for the file saltext.sap_car-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: saltext.sap_car-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.0 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_car-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef3891a2186e70efe4bc1b9cd3bd622ad420995f671c48bc4c2a4f3cf303fba4
MD5 3bc85a03bddbf4847a8072bccc402ff5
BLAKE2b-256 9b0bb133477155b960118353566a5b3d5ba3fe0511e47baaf054f6fbd475be72

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