Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sapucc/saltext-sap_xsa
SaltStack extension for SAP HANA XSA
https://github.com/sapucc/saltext-sap_xsa
python salt salt-extension saltext saltstack saltstack-extension
Last synced: 9 days ago
JSON representation
SaltStack extension for SAP HANA XSA
- Host: GitHub
- URL: https://github.com/sapucc/saltext-sap_xsa
- Owner: SAPUCC
- License: gpl-3.0
- Created: 2022-11-25T13:07:16.000Z (almost 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-11-25T13:45:55.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T19:41:19.016Z (about 1 month ago)
- Topics: python, salt, salt-extension, saltext, saltstack, saltstack-extension
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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
```yaml
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 `_` (where the code lives) to `` 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:
```jinja
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.