Commit graph

184 commits

Author SHA1 Message Date
mh
fd71b9473f split on new line, which fixes an issue if no table is found 2015-01-12 23:29:41 +01:00
mh
3820ed70a0 this should be variables 2015-01-10 11:42:33 +01:00
mh
02c8f3342e introduce new mariadb based config for EL7 2015-01-10 02:18:15 +01:00
mh
6be4faa81f There is no need to call “super” here.
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-10 02:05:11 +01:00
mh
553831bf34 on EL7 there is now mariadb 2015-01-10 01:50:39 +01:00
mh
c06abd681c add mysqltuner class 2014-02-28 14:50:17 +01:00
mh
cae3a3cbe8 fix #6638 - remove the unless check & improve script
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-02-05 22:34:17 +01:00
mh
7bde4efe1e improve optimize script 2014-01-12 14:19:26 +01:00
mh
d459760890 update README to document the stdlib dependency 2013-12-05 20:18:27 +01:00
mh
c38546e15f introduce the /etc/mysql/conf.d/ directory for CentOS 2013-12-05 20:14:04 +01:00
mh
6d485b1693 better use this built in fact now 2013-12-05 10:49:54 +01:00
mh
1caaa07190 some reasonable defaults 2013-12-05 10:47:25 +01:00
mh
eb03b7f647 update to latest EL release 2013-12-04 23:40:38 +01:00
mh
808a83374c rename deprecated option 2013-12-04 23:24:59 +01:00
mh
bad8721b44 also chown the data dir 2013-12-04 23:19:09 +01:00
mh
e9f0304525 this is not really necessary 2013-12-04 23:15:26 +01:00
mh
5665884209 EL6.4 doesn't know about bdb 2013-12-04 23:12:22 +01:00
mh
0e8a73ecea fix ordering 2013-05-20 14:36:59 +02:00
mh
86ef2c3dd2 use the defaults file if available 2013-05-20 14:32:43 +02:00
mh
1e8e9f472c symbolize was removed in puppet 3 - See http://projects.puppetlabs.com/issues/16791 2013-05-20 14:05:00 +02:00
mh
bd6abae490 some mysql versions start to display a nasty warning - http://bugs.mysql.com/bug.php?id=68376 2013-05-03 11:55:41 +02:00
mh
6d9a846867 introduce helpers for mysql backups 2013-02-19 10:12:35 +01:00
Gabriel Filion
fc1210bea8 Too much linting for facts
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-02-18 16:16:35 -05:00
Gabriel Filion
d456d0280f lint mysql::server 2013-01-16 03:30:44 +01:00
mh
9c455bb3a1 fix typo 2013-01-02 18:54:51 +01:00
mh
c1c3b11245 make trocla an optional dependency 2013-01-02 18:48:49 +01:00
mh
2e57128b06 mysql 5.0 does not yet know about :trigger_priv 2013-01-02 18:19:06 +01:00
mh
6d75999d6a get rid off trailing , 2013-01-02 18:18:39 +01:00
mh
8a96ea5cf0 Merge remote-tracking branch 'riseup/master'
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-02 17:25:51 +01:00
mh
33241a38d2 linting 2013-01-02 17:13:45 +01:00
mh
dd6c24844b Merge remote-tracking branch 'shared/master'
Conflicts:
	files/config/my.cnf.Debian
	manifests/server/base.pp
	manifests/server/munin/default.pp
	manifests/server/nagios.pp
2013-01-02 17:03:18 +01:00
mh
35b62c1b3d some need the password not quoted... 2012-12-10 11:01:28 +01:00
mh
c9fda13929 simplify and correct dependencies
1. it is important that the root password works
2. we don't need to chain the dependencies
2012-12-09 16:03:39 +01:00
mh
7b2a72a976 document intend of refreshonyl for setting root pw 2012-12-09 16:01:02 +01:00
mh
de7cb43faa fix dependency issues 2012-12-09 15:52:34 +01:00
mh
828d52e667 woraround a puppet provider bug 2012-12-09 15:12:19 +01:00
mh
53d1455aa5 linting 2012-12-06 23:09:44 +01:00
Micah Anderson
9465f48a65 2.7 underscore rename: site-mysql 2012-06-27 15:47:24 -04:00
mh
60ec42a15f fix typo 2012-06-17 16:50:08 -03:00
mh
59ec83a3cc take hiera out of the params 2012-06-14 15:02:17 -03:00
mh
956edf58cc take hiera out of the params 2012-06-14 14:53:44 -03:00
o
01ab6a5315 some more hiera variables removed 2012-06-14 11:33:31 -03:00
o
cd68caf662 remove hiera 2012-06-13 20:22:45 -03:00
mh
e4ca510b7c refactor things for >2.7 2012-06-08 13:04:06 -03:00
mh
7f4ae6753f use correct backup location
Up to now we used an empty backup location... :/
2012-05-14 10:29:52 +02:00
mh
1f0784b73e Merge remote-tracking branch 'laurantb/master'
Conflicts:
	manifests/server/cron/backup.pp
2012-04-29 12:55:07 +02:00
Micah Anderson
9db98da33c fix trocla function lookup in template, without this, you get:
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-18 13:26:57 -04:00
Micah Anderson
9e22feaca0 fix another trivial syntax error 2012-04-18 11:36:09 -04:00
Micah Anderson
a30637ad2e fix syntax error 2012-04-18 11:30:36 -04:00
Micah Anderson
05e97ab820 Merge remote-tracking branch 'lelutin/nagios_service' into shared 2012-04-11 18:28:15 -04:00