summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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.
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.
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-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-02-19introduce helpers for mysql backupsmh
2013-02-18Too much linting for factsGabriel Filion
ng brought a problem with my latest linting commit: facts are _always_ strings, so unquoting the value that we're testing against is actually wrong, even though puppet-lint complains. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2013-01-16lint mysql::serverGabriel Filion
2013-01-02fix typomh
2013-01-02make trocla an optional dependencymh
2013-01-02mysql 5.0 does not yet know about :trigger_privmh
2013-01-02get rid off trailing ,mh
2013-01-02Merge remote-tracking branch 'riseup/master'mh
Conflicts: manifests/client.pp manifests/server.pp manifests/server/base.pp manifests/server/cron/backup.pp manifests/server/munin/default.pp manifests/server/nagios.pp
2013-01-02lintingmh
2013-01-02Merge remote-tracking branch 'shared/master'mh
Conflicts: files/config/my.cnf.Debian manifests/server/base.pp manifests/server/munin/default.pp manifests/server/nagios.pp
2012-12-10some need the password not quoted...mh
2012-12-09simplify and correct dependenciesmh
1. it is important that the root password works 2. we don't need to chain the dependencies
2012-12-09document intend of refreshonyl for setting root pwmh
2012-12-09fix dependency issuesmh
2012-12-09woraround a puppet provider bugmh
2012-12-06lintingmh
2012-06-272.7 underscore rename: site-mysqlMicah Anderson
2012-06-17fix typomh
2012-06-14take hiera out of the paramsmh
2012-06-14take hiera out of the paramsmh
2012-06-14some more hiera variables removedo
2012-06-13remove hierao
2012-06-08refactor things for >2.7mh
2012-05-14use correct backup locationmh
Up to now we used an empty backup location... :/
2012-04-29Merge remote-tracking branch 'laurantb/master'mh
Conflicts: manifests/server/cron/backup.pp
2012-04-18fix trocla function lookup in template, without this, you get:Micah Anderson
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mysql/root/my.cnf.erb: undefined method `function_trocla' for #<Puppet::Parser::Scope:0xf6457e2c> at /etc/puppet/modules/mysql/manifests/server/base.pp:50 on node
2012-04-18fix another trivial syntax errorMicah Anderson
2012-04-18fix syntax errorMicah Anderson
2012-04-11Merge remote-tracking branch 'lelutin/nagios_service' into sharedMicah Anderson
2012-04-11Merge remote-tracking branch 'lelutin/squeeze_my_cnf' into sharedMicah Anderson
2012-04-11fix $use_munin hiera check to be use_munin instead of incorrect use_nagiosMicah Anderson
add $use_nagios hiera check
2012-04-09Import my.cnf from Debian SqueezeGabriel Filion
Lenny support was phased out and squeeze is the current stable. There is an instruction in the file that originally came from lenny: skip-bdb doesn't exist anymore in the mysql version in squeeze, so the config file makes a fresh mysql install crash on Squeeze. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-04switch hiera to pull its variables in parameterized classes instead of ↵Micah Anderson
inline in the manifest