summaryrefslogtreecommitdiff
path: root/manifests/server
AgeCommit message (Collapse)Author
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-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-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-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-10this should be variablesmh
2015-01-10on EL7 there is now mariadbmh
2014-03-12Merge branch 'conf_define'Gabriel Filion
2014-03-12Merge branch 'randomize_optimize'Gabriel Filion
2014-03-11Fix munin plugin class on DebianJerome Charaoui
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
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-05introduce the /etc/mysql/conf.d/ directory for CentOSmh
2013-12-05better use this built in fact nowmh
2013-12-04this is not really necessarymh
2013-05-03some mysql versions start to display a nasty warning - ↵mh
http://bugs.mysql.com/bug.php?id=68376
2013-02-19introduce helpers for mysql backupsmh
2013-01-02make trocla an optional dependencymh
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-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-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-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-11Merge remote-tracking branch 'lelutin/nagios_service' into sharedMicah Anderson
2012-03-07fix typo in name of mysql_qcache_mem graphMicah Anderson
2012-03-07Merge commit '356fdab8147f8a32a3f14514f2bb77f4f312c734' into sharedMicah Anderson
Conflicts: files/munin/mysql_connections manifests/server/base.pp manifests/server/munin/default.pp
2012-03-07Merge remote-tracking branch 'lelutin/root_pw_no_arg' into sharedMicah Anderson
Conflicts: manifests/server/base.pp
2012-02-23Use the right parameter to nagios::service::mysqlGabriel Filion
check_hostname is not defined. We need to use check_host instead
2012-02-10migrate everything to hiera/trocla and use the new scoping stylemh
2011-03-18--all is deprecatedLaurent Bachelier
2011-02-25Remove other default accounts due to security reasonsmh
2010-12-21add some other mysql pluginsmh
2010-12-18Avoid root password leak to process listGabriel Filion
The current procedure of setting the root MySQL password leaks the root password by giving it to the setmysqlpass.sh script on the command line. This means that during the couple of seconds that the script is executing, the password is visible in the process list! Since we're already writing the password in the /root/.my.cnf file, make the setmysqlpass.sh script parse this file to retrieve the password instead of receiving it from a command line argument. Also, in some shells the 'echo' command might appear in the process list. Use a heredoc notation to create the output without using a command. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-12-15Avoid root password leak to process listGabriel Filion
The current procedure of setting the root MySQL password leaks the root password by giving it to the setmysqlpass.sh script on the command line. This means that during the couple of seconds that the script is executing, the password is visible in the process list! Since we're already writing the password in the /root/.my.cnf file, make the setmysqlpass.sh script parse this file to retrieve the password instead of receiving it from a command line argument. Also, in some shells the 'echo' command might appear in the process list. Use a heredoc notation to create the output without using a command. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-11-01add mysql munin graphs and adjust the file distribution to match the right ↵Micah Anderson
location of where they are
2010-10-29fully qualify the path to mysqladmin, without it, you will get this error:Micah Anderson
Parameter unless failed: 'mysqladmin -uroot status > /dev/null' is both unqualifed and specified no search path at /etc/puppet/modules/mysql/manifests/server/base.pp:62 unless you have set globally: Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin" }