This SaltStack extensions allows managing SAP Personal Security Environment (PSE) files.
THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAY
Run the following to install the SaltStack SAP PSE extension:
salt-call pip.install saltext.sap-pseKeep 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_pse.git:
- root: src/saltext/sap_pseIn order to enable this, logical links under src/saltext/sap_pse/ 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:
_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / states
A state using the SAP PSE extension looks like this:
SAP Host Agent SAPSSLS PSE file is managed:
sap_pse.managed:
- name: /usr/sap/hostctrl/exe/sec/SAPSSLS.pse
- user: sapadm
- group: sapsys
- seclogons:
- sapadm
- priv_key: /etc/pki/{{ grains["id"] }}.key
- pub_key: /etc/pki/{{ grains["id"] }}.crtSee https://saltext-sap-pse.readthedocs.io/ for the documentation.
We would love to see your contribution to this project. Please refer to CONTRIBUTING.md for further details.
This project is licensed under GPLv3. See LICENSE.md for the license text and COPYRIGHT.md for the general copyright notice.