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

refs #2445 - move back FreeBSD icon #3194

Closed
wants to merge 1 commit into from
Closed

refs #2445 - move back FreeBSD icon #3194

wants to merge 1 commit into from

Conversation

mmoll
Copy link
Contributor

@mmoll mmoll commented Feb 16, 2016

f6014fb broke display of the icon on the hosts page for me. Or am I missing something in the Debian nightlies?

@dLobatog
Copy link
Member

@mmoll If you check the helper that displays this icon, it uses the right capitalization @bkearney changed it to - https://github.com/theforeman/foreman/blob/develop/app/helpers/operatingsystems_helper.rb#L28

Maybe you're not seeing it for some other reason?

@mmoll
Copy link
Contributor Author

mmoll commented Feb 17, 2016

I'm not getting it, the capitalization in that file is FreeBSD, not Freebsd, correct?

@dLobatog
Copy link
Member

Merged as 9e02c5f, thanks @mmoll!

@dLobatog dLobatog closed this Feb 17, 2016
@mmoll mmoll deleted the freebsd_icon branch February 17, 2016 12:49
@bkearney
Copy link
Contributor

@dLobatog can you please check https://bugzilla.redhat.com/show_bug.cgi?id=1283668. This is what caused me to change it.

@dLobatog
Copy link
Member

@bkearney I think that happened because the name of the OS created was not 'Freebsd' (case insensitive). Family is not enough to show the icon in Foreman, the name has to match an OS. Otherwise Ubuntu would show up with the Debian family icon instead of Ubuntu, CentOS as Red Hat, etc...

@bkearney
Copy link
Contributor

@dLobatog so, how should I fix that bug?

@mmoll
Copy link
Contributor Author

mmoll commented Feb 17, 2016

@bkearney I think in that BZ the user created an OS with the name Freebsd and family FreeBSD, while both need to be FreeBSD, as this is the name by the fact, Facter is returning.

@dLobatog
Copy link
Member

Nope, name 'freebsd', or 'Freebsd', etc.. all work. The person who opened the bug chose 'family FreeBSD' but the OS name had a different name. If the name doesn't contain 'freebsd' in it (regardless of capitalization) it won't show any icon. I don't think that needs to be fixed?

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

Successfully merging this pull request may close these issues.

4 participants