-
Notifications
You must be signed in to change notification settings - Fork 545
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
use official amazon linux 2 repo for amazon linux 2 #1287
Conversation
Use offical amazon linux 2 repo
Hi @mchugh19! My apologies for taking so long to respond here. I see you have a checkstyle error that needs to be fixed. However, the salt repo has added amazon linux 2 support now: http://repo.saltstack.com/#amzn I think we should use the official packages, rather than the CentOS 7 method you've provided here. Thoughts? |
I think this should resolve the lint error and also use the new official amazon linux 2 repo. I wouldn't mind a double-check on this as I don't have the ability to spin up an ec2 instance at the moment, and it is copying a large block of code from the amazon linux 1 deps function (with some package name updates). |
7f0a3aa
to
41a0307
Compare
Hey @mchugh19 - I added a test to our runner for the new amazonlinux 2 builds and it looks like there's an error here. The test is failing. Can you take a look? https://travis-ci.com/saltstack/salt-bootstrap/jobs/158212816 |
@rallytime Gah! Looks like it was a missing trailing slash typo. Let's see how travis likes this version... |
Looks like the minion was successfully installed in the amazon linux 2 test, but had an issue on the integration tests. So I think it validated what this PR covers, but let me know if something else is needed. |
@mchugh19 The reason this is failing is because you didn't add support for the The stable options are working swimmingly! So thank you for adding that support. |
@mchugh19 Getting closer! Thank you for adding that support. Looks like a couple of tweaks may still be needed: https://travis-ci.com/saltstack/salt-bootstrap/jobs/158600374 |
Setup free tier aws to validate amazon linux 2. Git installs should be fixed now. |
This looks great! Thanks @mchugh19! |
What does this PR do?
"Supports" Amazon Linux 2 by using the saltstack centos7 yum repoDon't know if this is an upstream-able change, but it works for us.
Update to use new amazon linux 2 yum repo
What issues does this PR fix or reference?
#1194
Previous Behavior
bootstrap-salt.sh fails on amazon linux 2
New Behavior
bootstrap-salt.sh successfully installs and runs salt-minion