-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Adding Repo Management for Centos, Redhat, LinuzAmazon #16
Conversation
manifests/params.pp
Outdated
@@ -52,4 +51,11 @@ | |||
scheduler => {}, | |||
mysql_replication_hostgroups => {}, | |||
} | |||
|
|||
# 'CentOS', 'Fedora', 'Scientific', 'RedHat', 'Amazon', 'OracleLinux' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add spec tests and add the supported OS's to metadata.json so spec tests will start testing for these OS's too...
manifests/params.pp
Outdated
# 'CentOS', 'Fedora', 'Scientific', 'RedHat', 'Amazon', 'OracleLinux' | ||
$rpm_repo_name = 'mariadb_repo' | ||
$rpm_repo_descr = 'mariadb_repo_for_proxysql' | ||
$rpm_repo = 'http://yum.mariadb.org/10.1/centos6-amd64' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the correct repo url?
Hi @alexvaque, please check the used email address in your commit. It is currently not associated with your github account. |
Yes, it is correct REPO URL .
We could use MARIADB_REPO or Percona. Personally, I prefered to use MARIADB_REPO , Percona REPO runs too.
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
Enviar: miércoles 8 de marzo de 2017 a las 18:48
De: "Matthias Crauwels" <[email protected]>
Para: voxpupuli/puppet-proxysql <[email protected]>
CC: alexvaque <[email protected]>, Author <[email protected]>
Asunto: Re: [voxpupuli/puppet-proxysql] Adding Repo Management for Centos, Redhat, LinuzAmazon (#16)
@mcrauwel commented on this pull request.
In manifests/params.pp:
@@ -52,4 +51,11 @@
scheduler => {},
mysql_replication_hostgroups => {},
}
+
+ # 'CentOS', 'Fedora', 'Scientific', 'RedHat', 'Amazon', 'OracleLinux'
+ $rpm_repo_name = 'mariadb_repo'
+ $rpm_repo_descr = 'mariadb_repo_for_proxysql'
+ $rpm_repo = 'http://yum.mariadb.org/10.1/centos6-amd64'
is this the correct repo url?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
but in neither of those repo's there is a proxysql package... |
Hello McRauwel About that.
For example you could check it doing : Actually, I am thinking that maybe will be better to install through the RPM directly without repository update. Doing something like that, but using Puppet. I need to think how to adapt this idea in your Puppet Module What do you think? I am checking it and I will add spec tests and add the supported OS's to metadata.json that you mentioned me . Thank you |
@alexvaque that looks good! Percona seems to offer a package manager for proxysql (just not the latest releases) also look at the travis output, you are mixing spaces and tabs. Travis (and rubocop) don't like that! thnx in advance! |
rubocop provides a nice way to fix errors, works often: bundle exec rubocop -c .rubocop.yml -D -S -a |
it look nice, I will try to test tonight, could you still look at the metadata.json file so the new OS's get tested also? |
OK , I will check. Thank you You can see that now the module can manage the Proxysql through Package RPM or through Repository through Repository Using the Package by default that I added to params.pp
Also we can change the repository with something like that:
through Package Using the default RPM added in the module
Or using specific RPM URL
|
Good morning , Any news about the last changes? Do you need some improvements or changes? Or last changes are OK ? Thank you :) |
I'm just updating the readme and docs so we can start publishing this to the forge also! thank you for your contribution! |
Adding Repo Management for Centos, Redhat, LinuzAmazon
Adding Repo Management for Centos, Redhat, LinuzAmazon