summaryrefslogtreecommitdiff
path: root/manifests/server/base.pp
AgeCommit message (Collapse)Author
2015-05-13account_security doesn't exist anymoreGabriel 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-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
2014-03-12Merge branch 'conf_define'Gabriel 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-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-05better use this built in fact nowmh
2013-12-04this is not really necessarymh
2013-02-19introduce helpers for mysql backupsmh
2012-12-09document intend of refreshonyl for setting root pwmh
2012-12-09fix dependency issuesmh
2012-12-09woraround a puppet provider bugmh
2012-06-14take hiera out of the paramsmh
2012-06-08refactor things for >2.7mh
2012-02-10migrate everything to hiera/trocla and use the new scoping stylemh
2011-02-25Remove other default accounts due to security reasonsmh
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-09-22fixing merge error which removed a / -- round 2Micah Anderson
2010-09-22fixing merge error which removed a /Micah Anderson
2010-09-22fix pathing, its /usr not /userMicah Anderson
2010-09-22Merge remote branch 'remotes/immerda/master'Micah Anderson
Conflicts: manifests/server/base.pp
2010-09-22allow for different my.cnf files according to the OS releaseMicah Anderson
2010-09-22require package mysql-server for service mysql instead of mysql-clientMicah Anderson
2010-08-11remove unnecessary fileserver variable (#2460) round IImh
2010-08-07remove unnecessary fileserver variable (#2460)mh
2010-04-02move scripts to /usr/local/sbin, old scripts are getting removed by wiping ↵mh
the modules dir
2009-12-10make backup and optimize cron jobs optional; introduce $mysql_backup_cron, ↵Jerome Charaoui
$mysql_backup_dir and$mysql_optimize_cron; use a module_dir for scripts
2009-12-10change mysql client alias and quote resource namesJerome Charaoui
2009-12-10run mysql_set_rootpw if $mysql_rootpw changesJerome Charaoui
2009-12-10add Debian supportJerome Charaoui
2009-11-14update to 0.25.x stylemh
2009-11-02recursivly updating file path to new 0.25 stylemh
2009-10-03refactor classesmh