Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sapucc/saltext-sap_hostctrl
SaltStack extension for the SAP Host Agent
https://github.com/sapucc/saltext-sap_hostctrl
python salt salt-extension saltext saltstack saltstack-extension sap
Last synced: 17 days ago
JSON representation
SaltStack extension for the SAP Host Agent
- Host: GitHub
- URL: https://github.com/sapucc/saltext-sap_hostctrl
- Owner: SAPUCC
- License: gpl-3.0
- Created: 2022-11-22T12:15:08.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-11-25T12:55:56.000Z (about 2 years ago)
- Last Synced: 2024-11-13T13:12:09.486Z (about 2 months ago)
- Topics: python, salt, salt-extension, saltext, saltstack, saltstack-extension, sap
- Language: Python
- Homepage:
- Size: 69.3 KB
- Stars: 1
- Watchers: 1
- 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 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 SAP Host Agent extension:
```bash
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
```yaml
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 `_` (where the code lives) to `` 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:
```jinja
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.