Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimum apt version wall #788

Closed
Justin-DynamicD opened this issue Aug 1, 2017 · 12 comments
Closed

minimum apt version wall #788

Justin-DynamicD opened this issue Aug 1, 2017 · 12 comments

Comments

@Justin-DynamicD
Copy link

Justin-DynamicD commented Aug 1, 2017

##minimum apt version wall
As of 2.5.0 and later, sensu-sensu now requires puppetlabs-apt > 4.0.0. This is a breaking requirement change for me (and I assume other puppet users) as there are LOTS of modules out there that still have a <3.0.0 requirement putting us in a "which module is more important" scenario. Some modules are even useful/critical for sensu itself like puppet-grafana (>=2.1.0 < 3.0.0) and puppetlabs-rabbitmq (>=1.8.0 <3.0.0).

Was the jump to 4.0 needed?

@SergK
Copy link

SergK commented Aug 1, 2017

@Justin-DynamicD Hi, I've raised the same question #781 , so unfortunately, as workaround, I forked repo and revert the change which introduced this change.

@Justin-DynamicD
Copy link
Author

the response of "wont fix" seems poorly thought through. If the devs are reading this I'd like to once again point out that the following module is basically needed to manage sensu with puppet yet cannot coexist with this module anymore:

puppetlabs-rabbitmq

Won't fix basically means "this module is broken until rabbitmq folks update". That's a pretty big issue.

@ghoneycutt
Copy link
Collaborator

Perhaps there is some confusion as @Justin-DynamicD stated that we require apt > 4 though it is actually >= 4

https://github.com/sensu/sensu-puppet/blob/master/metadata.json#L64

This is supported by puppetlabs-rabbitmq

https://github.com/voxpupuli/puppet-rabbitmq/blob/master/metadata.json#L51

@ghoneycutt
Copy link
Collaborator

Created voxpupuli/puppet-grafana#53 to help with the grafana module.

@madAndroid
Copy link
Contributor

We're experiencing this as well... according to the style guide, soft dependencies shouldn't be declared in the metadata.json => https://docs.puppet.com/puppet/latest/style_guide.html#dependencies.

Since this is a dependency only for Debian osfamily, is this regarded as a hard depedency?

@ghoneycutt
Copy link
Collaborator

It is on Debian :>

I agree that it's not a hard dependency as folks running this on Windows certainly don't need to install the apt module.

@ghoneycutt
Copy link
Collaborator

Created #791 to remove apt from the metadata as a dependency.

@ghoneycutt
Copy link
Collaborator

@Justin-DynamicD did you see my notes above? I think you might be running an old version of rabbitmq.

@Justin-DynamicD
Copy link
Author

Justin-DynamicD commented Aug 9, 2017

Perhaps the notes are out of date, but if you hit the site:
https://forge.puppet.com/puppetlabs/rabbitmq/dependencies

"puppetlabs/apt (>=1.8.0 <3.0.0)".

So it looks like falling back on the site vs. digging into the code may be the concern?

@SergK
Copy link

SergK commented Aug 10, 2017

Regarding rabbitmq, yes, they bump apt module version, but haven't release it yet, so it's on master branch only

@ghoneycutt
Copy link
Collaborator

We dropped apt as a hard dependency in v2.31.0

@madAndroid
Copy link
Contributor

@ghoneycutt - awesome, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants