edestecd / puppet-mariadb

Puppet Module for managing MariaDB
GNU General Public License v3.0
3 stars 21 forks source link

Default install on RHEL8 has invalid yum repo file. #58

Closed bschonec closed 1 year ago

bschonec commented 1 year ago

When installing on RHEL 8, the /etc/yum.repos.d/mariadb.repo file points to a non-existent path:

[mariadb]
name=MariaDB
baseurl=http://yum.mariadb.org/10.1/rhel8-amd64
enabled=1
gpgcheck=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB

The 10.1 path no longer exists on yum.mariadb.org. The "oldest" path is 10.3.

edestecd commented 1 year ago

ITs a parameter you can set. https://github.com/edestecd/puppet-mariadb/blob/master/manifests/server.pp#L13

I'dd recommend passing the repo version you'd like.

I'd also merge a PR changing the default if you want: https://github.com/edestecd/puppet-mariadb/blob/master/manifests/params.pp#L12

bschonec commented 1 year ago

59 submitted.

edestecd commented 1 year ago

59

bschonec commented 1 year ago

Thank you, fellow Buckeye. OH

IO

On Wed, Oct 26, 2022 at 10:02 AM Chris Edester @.***> wrote:

59

https://urldefense.com/v3/__https://github.com/edestecd/puppet-mariadb/pull/59__;!!BEKqzeyt!zCG7Cg4kmO1dUROkMjD0nyx-sp1Jcz6yaVxjVbU4HTTL0MI7_e8jwbQ1DEkDwTu1jlToxBNtCEsLJBcff0tH_F_VJp7y8BNXQvU$

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/edestecd/puppet-mariadb/issues/58*issuecomment-1292100807__;Iw!!BEKqzeyt!zCG7Cg4kmO1dUROkMjD0nyx-sp1Jcz6yaVxjVbU4HTTL0MI7_e8jwbQ1DEkDwTu1jlToxBNtCEsLJBcff0tH_F_VJp7ysAlJZNI$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACJAO7Q6TX4C32OE4UZNE2DWFE2WJANCNFSM6AAAAAARO74BDQ__;!!BEKqzeyt!zCG7Cg4kmO1dUROkMjD0nyx-sp1Jcz6yaVxjVbU4HTTL0MI7_e8jwbQ1DEkDwTu1jlToxBNtCEsLJBcff0tH_F_VJp7yZav_QLk$ . You are receiving this because you authored the thread.Message ID: @.***>

-- Please consider the environment before printing this e-mail.

This e-mail, including any attachments, contains information that may be privileged and confidential and subject to legal restrictions and penalties regarding its unauthorized disclosure or use. You are prohibited from disclosing, copying, distributing or otherwise using information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify me immediately by return e-mail or phone, and promptly delete this e-mail and all attachments from your system. Thank you!