-
-
Notifications
You must be signed in to change notification settings - Fork 497
Add support for RHEL/CentOS 8 #826
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
Conversation
|
This depends on voxpupuli/facterdb#137 :(. We need to wait with the merge of this PR or we pin facterdb to the commit with CentOS 8 factsets. |
|
@bastelfreak I know that camptocamp takes some time to merge pull requests, but pinning facterdb to the commit ID feels dirty, too. |
|
I think pinning it is totally fine as a workaround. We already did that in a few other modules as well. I also pinged Raphael again to kick of a facterdb release. |
|
This seems to be failing because it is trying to download puppet for fedora 31 which does not exist. http://yum.puppetlabs.com/puppet5-release-fedora-30.noarch.rpm is the latest release. |
|
@ghoneycutt This is not related to Fedora 31. The build jobs for CentOS 8 fail. By default the parameter Does anybody know, why this module does not use the Packagecloud repository to install RabbitMQ? |
|
@dhoppe originally, the RMQ packages were the default. Quite a while back, when Puppet was still maintaining this module, I talked with the folks there and decided to rework it to default to using vendor packages vs packagecloud. I don’t remember all of the details, probably may be some more in the PR comments (#493). At that time, I don’t think the OS vendor packages were so far out of date, and seemed like a sane default. As far as the erlang dep, the erlang module isn’t really maintained now, so adjusting the strategy of which erlang version to get from where may also make some sense. However, I haven’t had the time, need, or inclination to do the structural work involved in redoing the erlang installation, default package version, and integration tests. As far as erlang dep goes, I think one challenge is making the module have somewhat sane defaults but also deal with cases where erlang is already present from something else the (module) user has done. |
|
Restarting build job as voxpupuli/facterdb#137 was merged |
|
Travis CI still fails, because voxpupuli/puppet-epel#61 has not been merged. |
|
@dhoppe let me know if you want any more input / background on this. I don't have the energy / need to make changes, but happy to review, and I do think it does make sense to do a major where we switch back to the default of using the RabbitMQ repos. The thing (maybe mentioned in some other threads) that's also tricky is the different possible methods of satisfying the erlang deps, and the fact that, I think, the puppet erlang module isn't really maintained. So any updates would probably need to accommodate a couple different ways of satisfying the erlang deps. |
|
I've been looking into this because a module i maintain I'll see if next week i can take a swing a making a new erlang module and donating it to Vox so we can maintain this as a community going forward. Thoughts? |
|
Sorry, i take that back, it looks like erlang installs correctly, but EPEL no longer includes Here are the lines in the build that are failing: https://travis-ci.org/github/voxpupuli/puppet-rabbitmq/jobs/632264648#L1831-L1832 Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install rabbitmq-server' returned 1: Error: Unable to find a match: rabbitmq-server
Error: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install rabbitmq-server' returned 1: Error: Unable to find a match: rabbitmq-serverLooking at the EPEL repo for EL8, i don't see any |
|
That would be great (new erlang module). |
|
@nmaludy it may work already if you set |
|
@wyardley OK, i'll give that a shot on my local box. We may have to adjust the acceptance tests for el8 to set that as default, then probably set it up that way in module hiera data and/or document it in the README. |
|
@wyardley I was able to get this working on a local CentOS 8 Vagrant box with the following: But, i also had to modify - name: 'Operating System Family Version'
path: "family/%{facts.os.family}-%{facts.os.release.major}.yaml"And then add the following hiera data file: ---
rabbitmq::python_package: 'python3'
rabbitmq::repos_ensure: trueGoing to create a PR now. |
|
New PR is available here: #842 |
Fixes #816