puppet-mongodb icon indicating copy to clipboard operation
puppet-mongodb copied to clipboard

Update default mongodb version to 7.x

Open h-haaks opened this issue 1 year ago • 4 comments

Now that we have mongodb 7.x support and we have breaking changes already in the next release, do we bump default repo version to 7.0 as well?

h-haaks avatar Apr 25 '24 23:04 h-haaks

@stevenpost @witjoh any thoughts on this? Bumping the default version would be a breaking change as well.

h-haaks avatar Apr 25 '24 23:04 h-haaks

Debian 10 support ends at 6.0

h-haaks avatar Apr 26 '24 10:04 h-haaks

Now that we have mongodb 7.x support and we have breaking changes already in the next release, do we bump default repo version to 7.0 as well?

Might as well, but if Debian 10 is still supported and only goes till 6.0 it may make sense to default to 6.0 instead of 7. Just so the defaults for every OS are the same, principle of least surprise. I don't have a strong opinion on it, so 7.0 is fine with me as well. In that case you may want to remove Debian 10 altogether, LTS support ends June 30th, 2024.

stevenpost avatar Apr 26 '24 13:04 stevenpost

Hmm, I wonder if we should implement the repo install more like package do it. I mean write a fact for repo_version and use repo_ensure => present/absent/ in the repo class.

If present on first run install latest supported. If version and version != fact update repo def.

The code as it is right now will just add a new repo side by side the old repo if the version is changed ... Further updating the repo version will not upgrade mongodb server or client .. The actual upgrade of mongodb will happen if someone later run apt/yum/dnf update/upgrade on the server.

I think we are better off not merging #757 yet.

h-haaks avatar Apr 27 '24 10:04 h-haaks