Closed Joris29 closed 1 year ago
@kenyon A follow up PR due to limitations in the template could you take a look thanks in advance
Alright do i need to do some additional steps myself regarding the puppet strings and the other things you mentioned?
@Joris29 it would be great if you want to do the work. Separate pull requests for those changes would be good.
@kenyon I will update this PR according to my other merged PR but can this PR be merged before opening another PR to remove the params.pp because it will be quite a big change when removing params.pp?
Yes, sounds good.
@kenyon PR rebased and updated
@kenyon I use this module for different rundeck environments and i worked quite a bit with this module. My honest opinion is that it's not worthwhile especially not when looking to maintain the code.
My change introduces a new more dynamic way of configuring the storage provider/type while previous implementation adds every option as a parameter so that also means if new params are introduced or get renamed (See PR for vault) things might brake or a new PR has to be created for every change from rundeck or the storage plugin.
While it will be possible to add both options i think it will only add more complexity, if both are set by accident or if none are set those are all things that would have to be added and tested.
About the backwards incompatibility i agree it's not ideal but i also think in a module's lifetime somewhere this is inevitable. If it's documented and added as breaking change i don't see why we can't merge, older versions can still be used.
@kenyon Thanks for merging now for the follow up, do you want to create a new release first because that's not something i can do i guess or do i first create a PR to remove the params.pp and then create a new release?
@Joris29 might as well get more changes into the next release, like params.pp
removal.
Pull Request (PR) description
The key storage type parameter limits the key storage entries to one. It would be better to simplify this to one configurable hash. Also remove vault specific parameters to limit breaking changes when vault-storage plugin updates config on their side. Update docs as well.