We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fcb0f2 commit 1aea20aCopy full SHA for 1aea20a
libraries/sql/_connection.rb
@@ -83,10 +83,14 @@ def install_pg_gem
83
declare_resource(:package, libpq_package_name) { compile_time(true) }
84
declare_resource(:package, 'perl-IPC-Run') do
85
compile_time(true)
86
- if platform?('oracle')
+ case node['platform']
87
+ when 'oracle'
88
options ['--enablerepo=ol8_codeready_builder']
- else
89
+ when 'redhat'
90
options('--enablerepo=codeready-builder-for-rhel-8')
91
+ else
92
+ # CentOS Stream, AlmaLinux, Rocky Linux use powertools
93
+ options('--enablerepo=powertools')
94
end
95
96
when 9
0 commit comments