-
Notifications
You must be signed in to change notification settings - Fork 449
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
Add platform detection for Arista EOS #860
Conversation
@tas50 This is the PR we discussed via email earlier today. |
Thanks for getting this filed @jerearista. The tests are failing due to issues with rack 2.0 and the new rspec release. I have a PR to get that fixed. Once we get it merged in you should be able to rebase off master to get your PR to pass. I do have some reservations about making the platform_family fedora in this PR. I know that EOS is based on Fedora, but the Arista install may differ enough from Fedora that having the platform_family fedora will become a disservice to anyone attempting to make generalization about "fedora-ness" of the setup. Pinging @thommay and @lamont-granquist for their thoughts on this since we've discussed greater platform_family issues a lot lately. |
IDK what fedora looks like now after systemd, but if there's /etc/sysconfig that looks like the rest of the redhat systems, and it has "*-devel" RPMs, and things like that, then its 'fedora-derived' system. Since its a switch O/S I'm sure they messed around with networking stuff in important ways -- maybe hostname, ipaddress, etc are no longer set the same was a fedora -- but it doesn't matter since that is inherently going to have to switch off If |
👍 from me obviously if lamont is ok with the platform family. Test failure was due to rack coming in with github changelog generator. That's been fixed in another PR so this will run fine in master now. |
Thanks. I'll keep an eye on the fedora setting. On Aug 11, 2016 3:35 PM, "Tim Smith" notifications@github.com wrote:
|
Yeah that was a 👍 -- although I'm kind of blindly guessing what EOS looks like... |
Arista EOS can be detected based on the /etc/Eos-release file which includes the EOS version string.