summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-07Merge branch 'non_ascii_comment' into 'master' HEADmasterJerome Charaoui
remove non-ascii char in comment in init.pp Apparently puppet doesn't like ppl who don't speak English and crashes on non-ASCII chars in comments. Assigned to Jerome for review (but the pick was somewhat random) See merge request !4
2015-09-26remove non-ascii char in comment in init.ppGabriel Filion
Apparently puppet doesn't like ppl who don't speak English and crashes on non-ASCII chars in comments.
2015-08-05package containing ruby bindings is renamed 'ruby-mysql' in wheezy and later ↵Jerome Charaoui
releases
2015-05-13account_security doesn't exist anymoreGabriel Filion
2015-05-13mysql_ibdata1 is not managed anymore but is still overridden for debianGabriel Filion
2015-05-13mysql root password is leaked to the process listGabriel Filion
Every time the root password reset is used we're leaking the password to the process list. If we use the already present /root/.my.cnf for credentials then it has the same effect for verification and we avoid leaking the password.
2015-04-21Merge branch 'master' into merge_immerda_newJerome Charaoui
Conflicts: manifests/server/cron/backup.pp
2015-04-17Restore a few things that got removed:Jerome Charaoui
* Manage /etc/mysql/mysql.conf.d * Account security ensures * Check mysql_exists before realizing ressources These last two points partially revert commit e1649647f326abeb256a73e4cb1060840f846f24
2015-04-17Restore parameters from optimize cronjob classJerome Charaoui
2015-04-17Add GPLv3 licenseMicah Anderson
2015-03-27Cron jobs are not removed when unused.Gabriel Filion
Currently, if you have the bad idea of setting backup_cron or optimize_cron to true in the main class and later to change it back to false, the associated cronjob will stay in place even though you don't want it. To make this option more consistant, let's remove cron jobs (and backup helper scripts) when the appropriate option is set to false. Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
2015-02-24Merge branch 'master' of git://git.puppet.immerda.ch/module-mysqlJerome Charaoui
Conflicts: files/scripts/optimize_tables.rb manifests/server/base.pp
2015-02-20Merge branch 'document_nagios_custom_logic' into 'master'Jerome Charaoui
Document nagios custom logic Add some note for ppl who need to inject their own logic before creating nagios-related checks. See merge request !1
2015-02-20README: mention why using manage_nagios can be used for inserting logicGabriel Filion
If you need to avoid creating certain nagios checks for some reason that's specific to your local policies, you can avoid letting the module from automatically managing nagios services and then include it whenever you need it.
2015-02-20README: fix variable name for nagiosGabriel Filion
Documentation mentions something but the manifests use another name for the variable.
2015-01-25we only need to ensure grants if the user is presentmh
2015-01-24fix issues for EL7 + simplify account securitymh
* EL7 uses mariadb & systemd -> adjust setpasswd script to that * move the security ensurance to the setpassword script, as it's easier to ensure that there
2015-01-12split on new line, which fixes an issue if no table is foundmh
2015-01-10this should be variablesmh
2015-01-10introduce new mariadb based config for EL7mh
2015-01-10There is no need to call “super” here.mh
This patch avoid the following error: Validate method failed for class sleep: implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly. See https://git.openstack.org/cgit/stackforge/puppet-vswitch/commit/?id=25afbfe58867fb39266a8862cfd6a3f8f38a9564
2015-01-10on EL7 there is now mariadbmh
2014-03-12Merge branch 'mention_path'Gabriel Filion
2014-03-12Merge branch 'conf_define'Gabriel Filion
2014-03-12Document the new define in the READMEGabriel Filion
Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
2014-03-12Merge branch 'randomize_optimize'Gabriel Filion
2014-03-11Fix command output capturing in optimize_tables.rb for Ruby 1.9Jerome Charaoui
2014-03-11Fix munin plugin class on DebianJerome Charaoui
2014-03-06document the new arguments for setting optimize run timeGabriel Filion
2014-03-06Randomize time of execution for optimize script.Gabriel Filion
By default, time will be between midnight and 7:00 any day of the week. The values are currently hard-coded. This can have serious I/O repercussions on a server with multiple VMs that run mysql since they will all run their optimizations simultaneously.
2014-02-28add mysqltuner classmh
2014-02-05fix #6638 - remove the unless check & improve scriptmh
To workaround a limitation of the exec provider within puppet, we do the unless check no within the script itself and ensure that we use the password there. https://labs.riseup.net/code/issues/6638
2014-01-12improve optimize scriptmh
2013-12-18conf: notify mysql service to make changes effectiveGabriel Filion
2013-12-05manage configuration snippets in a conf.d directoryGabriel Filion
this should make it easier to override values from my.cnf, or to set other values that aren't in the main config file.
2013-12-05update README to document the stdlib dependencymh
2013-12-05introduce the /etc/mysql/conf.d/ directory for CentOSmh
2013-12-05better use this built in fact nowmh
2013-12-05some reasonable defaultsmh
2013-12-04update to latest EL releasemh
2013-12-04rename deprecated optionmh
2013-12-04also chown the data dirmh
2013-12-04this is not really necessarymh
2013-12-04EL6.4 doesn't know about bdbmh
2013-11-15setmysqlpass: be more careful before plundering into actionGabriel Filion
Since this script is rooting the database, it'd be good to use a little more precaution so that we don't let systems be in an inconsistent case when crashing. In cases where the PATH variable is not appropriately set (variable is empty by default when script is invoked by puppet) the script shuts down mysql and then is not able to call most commands.
2013-11-15README: Mention the need for setting the path appropriatelyGabriel Filion
Without at least /sbin, /bin, /usr/sbin and /usr/bin, the setmysqlpass.sh script won't run correctly and the module will not set the requested root password.
2013-05-20fix orderingmh
2013-05-20use the defaults file if availablemh
2013-05-20symbolize was removed in puppet 3 - See ↵mh
http://projects.puppetlabs.com/issues/16791
2013-05-03some mysql versions start to display a nasty warning - ↵mh
http://bugs.mysql.com/bug.php?id=68376