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

Solaris/upstream #950

Closed
wants to merge 83 commits into from
Closed

Conversation

shawnferry
Copy link
Contributor

@shawnferry shawnferry commented Apr 28, 2017

(MODULES-4749) puppetlabs-mysql : Solaris support
(MODULES-5277) puppetlabs-mysql : default version fact is not set on Solaris
(MODULES-5495) puppetlabs-mysql : the OS formerly known as Solaris 12

This patch adds Solaris support as currently shipped by Oracle. Mysql
version is extracted from pkg mediator mysql and used to set path
values.

This patch also adds the structured fact mysql_solaris which holds
values for consumption in params.pp

Solaris 12 is now Solaris 11.4

(MODULES-5494) puppetlabs-mysql : default version for Solaris should be 5.7

Mysql 5.5 has been EOLd and will be removed from Solaris. The new default version should be 5.7. If mysql is installed or mediated that version will be used instead.

@shawnferry shawnferry force-pushed the solaris/upstream branch 2 times, most recently from 0f1352f to a5145f2 Compare April 28, 2017 19:05
@shawnferry shawnferry force-pushed the solaris/upstream branch 2 times, most recently from d12db93 to 02ab309 Compare May 23, 2017 14:47
@shawnferry shawnferry force-pushed the solaris/upstream branch 3 times, most recently from c845d86 to 6269c84 Compare July 20, 2017 17:04
@shawnferry shawnferry force-pushed the solaris/upstream branch 2 times, most recently from 89485b7 to dee58a8 Compare August 17, 2017 16:02
(MODULES-5277) puppetlabs-mysql : default version fact is not set on Solaris

This patch adds Solaris support as currently shipped by Oracle. Mysql
version is extracted from `pkg mediator mysql` and used to set path
values.

This patch also adds the structured fact mysql_solaris which holds
values for consumption in params.pp
Solaris 12 is now Solaris 11.4 metadata.json needs an update
…be 5.7

Mysql 5.5 has been EOLd and will be removed from Solaris. The new
default version should be 5.7.

If mysql is installed or mediated that version will be used instead.
@david22swan
Copy link
Member

@shawnferry Is there any movement on this PR?

@shawnferry
Copy link
Contributor Author

I'm looking at it now

pmcmaw and others added 28 commits March 3, 2018 02:32
Currently task setup is trying to run on LTS which causes failures as it
is not supported.
If set `bind-address` to `undef` the bind-address will not be set in the mysql-config file so MySQL is listening on all interfaces.

```puppet
class { '::mysql::server':
  override_options => {
    mysqld => {
      bind-address => undef,
    },
}
```
...so they can all be modified from one place.

The current codebase handles each mysql call via calls to the command-line
mysql client.  There are basically only two sets of options passed, but the
options are repeated separately in various places throughout the code.  The
new self.mysql function now issues the call to the mysql client with one of
the two sets of options (selected via an optional function parameter).

Now the options to all mysql calls can be modified from one place.  This will
be useful when we are converting the module to allow for databases on multiple
remote servers, since we will be able to add the -h switch to all calls at
once.
mysql_grant now checks for mysql command
This also adds back the debian 9 metadata because it was removed after
5.1.0 was released.
For whatever reason, rubocop cannot see that stderr is indeed a used variable.
A puppet classname has 2 colons (:) in its name.
changed option in export.json from sql to file, probably a copy paste issue
(MODULES-5277) puppetlabs-mysql : default version fact is not set on Solaris

This patch adds Solaris support as currently shipped by Oracle. Mysql
version is extracted from `pkg mediator mysql` and used to set path
values.

This patch also adds the structured fact mysql_solaris which holds
values for consumption in params.pp
@pmcmaw
Copy link
Contributor

pmcmaw commented Dec 5, 2018

Hey @shawnferry,

Apologies but with this PR lying stale for so long I am going to close this. It needs a lot of work to get it rebased and up to date. If you disagree with my action please do not hesitate to reopen the PR and in advance apologize for my misjudgment.

I would like to reiterate how grateful we are as a team for your contribution.

Many Thanks
The Modules Team

@pmcmaw pmcmaw closed this Dec 5, 2018
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.