Closed aleksei-burlakov closed 3 years ago
@aleksei-burlakov As a side note, I think that we can initialize qdevice in the same command where we start the cluster. This could spare this new command, and we would only need to add the flags in the current code. Just as an additional option.
Please, add the args description in the docstrings too
Done.
thx for pr ! 3 things:
- CODE: the code itself need adaption with the existing code. see inline comments
- TEST: you need to adapt the tests mocking. see travis failures. ( you can find documentation on mocking on the readme, and looking at existing tests)
- PKG: Releases: You need to add a changelog entry to https://github.com/SUSE/salt-shaptools/blob/master/salt-shaptools.changes#L2
and also increment the version number so basically a new pkg will shipped and then the PR you depend on this will also get the new pkgs of this shared lib.
here is where you need to increment: https://github.com/SUSE/salt-shaptools/blob/master/_service#L7
I have refactored the 1. CODE. Now, only left are the 2. TEST and 3. Changelog
I have also added the tests.
@MalloZup , @Simranpal please review the last changes.
@arbulu89 @MalloZup @Simranpal Please have a look. This PR should come together with https://github.com/SUSE/habootstrap-formula/pull/67