{"id":14965286,"url":"https://github.com/sapucc/saltext-sap","last_synced_at":"2026-01-20T08:02:09.831Z","repository":{"id":63758221,"uuid":"570467380","full_name":"SAPUCC/saltext-sap","owner":"SAPUCC","description":"SaltStack extension to handle generic SAP operations","archived":false,"fork":false,"pushed_at":"2022-11-25T10:25:01.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-09-23T03:22:17.663Z","etag":null,"topics":["python","salt","salt-extension","saltext","saltstack","saltstack-extension"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAPUCC.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-25T09:06:00.000Z","updated_at":"2022-11-25T13:47:07.000Z","dependencies_parsed_at":"2022-11-25T11:41:03.425Z","dependency_job_id":null,"html_url":"https://github.com/SAPUCC/saltext-sap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SAPUCC/saltext-sap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPUCC%2Fsaltext-sap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPUCC%2Fsaltext-sap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPUCC%2Fsaltext-sap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPUCC%2Fsaltext-sap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAPUCC","download_url":"https://codeload.github.com/SAPUCC/saltext-sap/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPUCC%2Fsaltext-sap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28598874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","salt","salt-extension","saltext","saltstack","saltstack-extension"],"created_at":"2024-09-24T13:34:31.941Z","updated_at":"2026-01-20T08:02:09.809Z","avatar_url":"https://github.com/SAPUCC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SaltStack general SAP extension\nThis SaltStack extension handles generic SAP operations.\n\n**THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAY**\n\n## Installation\nRun the following to install the SaltStack general SAP extension:\n```bash\nsalt-call pip.install saltext.sap\n```\nKeep in mind that this package must be installed on every minion that should utilize the states and execution modules.\n\nAlternatively, you can add this repository directly over gitfs\n```yaml\ngitfs_remotes:\n  - https://github.com/SAPUCC/saltext-sap.git:\n    - root: src/saltext/sap\n```\nIn order to enable this, logical links under `src/saltext/sap/` from `_\u003cdir_type\u003e` (where the code lives) to `\u003cdir_type\u003e` have been placed, e.g. `_modules` -\u003e `modules`. This will double the source data during build, but:\n * `_modules` is required for integrating the repo over gitfs\n * `modules` is required for the salt loader to find the modules / states\n\n## Usage\nA state using the generic SAP extension looks like this:\n```jinja\n{%- set system_data = salt[\"sap.get_system_data\"](sid=\"S4H\", username=\"sapadm\", password=\"Abcd1234!\") %}\n{%- set message_server = system_data[\"message_servers\"][0] %}\n{%- set logon_group = system_data[\"logon_groups\"][0] %}\n\nSLD config is present on S4H:\n  sap_nwabap.sld_config_present:\n    - name: SLD_DS_TARGET\n    - sid: S4H\n    - client: \"000\"\n    - message_server_host: {{ message_server[\"host\"] }}\n    - message_server_port: {{ message_server[\"msport\"] }}\n    - logon_group: {{ logon_group }}\n    - username: SALT\n    - password: __slot__:salt:vault.read_secret(path=\"nwabap/S4H/000\", key=\"SALT\")\n```\n\n## Docs\nSee https://saltext-sap.readthedocs.io/ for the documentation.\n\n## Contributing\nWe would love to see your contribution to this project. Please refer to `CONTRIBUTING.md` for further details.\n\n## License\nThis project is licensed under GPLv3. See `LICENSE.md` for the license text and `COPYRIGHT.md` for the general copyright notice.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapucc%2Fsaltext-sap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapucc%2Fsaltext-sap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapucc%2Fsaltext-sap/lists"}