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

Make exception to grub_efi_path for OracleLinux #828

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

eb4x
Copy link
Contributor

@eb4x eb4x commented Feb 8, 2024

Apparently they didn't get the memo when rebranding their distro.

$grub_efi_path = downcase($facts['os']['name'])
$grub_efi_path = $facts['os']['name'] ? {
'OracleLinux' => 'redhat',
default => downcase($facts['os']['name'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised lint doesn't suggest a trailing comma

Suggested change
default => downcase($facts['os']['name'])
default => downcase($facts['os']['name']),

Apparently they didn't get the memo when rebranding their distro.
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If people really care about OracleLinux then we should include it in metadata.json and write some real tests for it.

@ekohl ekohl merged commit 623a107 into theforeman:master Feb 12, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants