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

Yum repo update to work with version 7 #217

Closed
trenta opened this issue Jun 25, 2019 · 5 comments
Closed

Yum repo update to work with version 7 #217

trenta opened this issue Jun 25, 2019 · 5 comments

Comments

@trenta
Copy link
Contributor

trenta commented Jun 25, 2019

Manually using the following:

[elastic-7.x]
name=Elastic repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

The module spits out the following that for some reason only show 6.x version of filebeat:

[beats]
name=elastic beats repo
baseurl=https://artifacts.elastic.co/packages/7.x/yum
enabled=1
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
@pcfens
Copy link
Owner

pcfens commented Jun 25, 2019

Did the machine you're running this on previously have filebeat 6.x installed? I'm wondering if we need to clean out the yum cache when we modify the repository to keep it from searching the cached package list.

I've got a change staged up if that ends up being the case.

@trenta
Copy link
Contributor Author

trenta commented Jun 25, 2019

Yes it did. That may be all it takes. I couldn't see why the yum repo file from the module wouldn't work.

@pcfens
Copy link
Owner

pcfens commented Jun 26, 2019

Can you check if the code in master fixes this problem? I've pushed the change, but don't have a good place to test it (I run master in production, but we're not quite ready for 7.x yet).

@trenta
Copy link
Contributor Author

trenta commented Jun 27, 2019

Yep that fixed it. Cheers.

@trenta trenta closed this as completed Jun 27, 2019
@pcfens
Copy link
Owner

pcfens commented Jun 27, 2019

Thanks for the help. I just put the change in a new release (4.0.2).

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

2 participants