SUSE / salt-shaptools

Salt execution module and state to manage SAP Applications (HANA only at the moment) and SUSE Linux Enterprise High Availability components
Apache License 2.0
14 stars 11 forks source link

Modules for sapcar extraction #59

Closed Simranpal closed 4 years ago

Simranpal commented 4 years ago

Add the salt functions to extract the SAP sar package.

TO-Do: Add unit tests and make any further improvements

Related to: https://github.com/SUSE/sapnwbootstrap-formula/pull/41 https://github.com/SUSE/shaptools/pull/49

arbulu89 commented 4 years ago

@diegoakechi We are not following the archive.tar conventions here. I'm quite happy with this naming and methods. Otherwise, we would need change the module to have something like sapcar instead of extract and pass the options from the state. We can do that aswell. What do you think @Simranpal @diegoakechi ? https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.archive.html https://docs.saltstack.com/en/latest/ref/states/all/salt.states.archive.html PD: The state naming is the same

diegoakechi commented 4 years ago

@arbulu89 It was more a suggestion from my side, but I am ok to proceed as it is right now.