Morgan Haskel
96f4d164a4
MODULES-1759: Remove dependency on stdlib >=4.1.0
...
Backported dirname => mysql_dirname since updating dependency to stdlib
4.1.0 is backwards incompatible with some versions of PE.
2015-02-09 12:34:44 -08:00
Hunter Haugen
b57191fb67
Merge pull request #655 from rnelson0/remove_provider
...
(MODULES-1731) Invalid parameter 'provider' removed from mysql_user instance.
2015-02-06 13:51:13 -08:00
Travis Fields
14d5813bc9
Merge pull request #660 from hunner/bump_stdlib
...
Bugfix: increase minimum stdlib
2015-02-06 13:40:06 -08:00
Hunter Haugen
8a828aa53d
Bugfix: increase minimum stdlib
...
Mysql 3.1.0 included 08a66b7
which uses dirname() which was released in
stdlib 4.1.0. This change bumps the minimum stdlib up to 4.1.0
2015-02-06 12:56:01 -08:00
Hunter Haugen
b3a38a8dfe
Merge pull request #645 from dveeden/auth-plugins
...
Support authentication plugins
2015-02-06 12:40:49 -08:00
Igor Galić
dc23fedabb
Merge pull request #658 from hunner/fix_grant
...
Make grant autorequire user
2015-02-06 14:06:05 +01:00
Hunter Haugen
506292ae58
Make grant autorequire user
...
grants that happen before a user is created cause an ERROR 1396
2015-02-05 16:21:24 -08:00
Hunter Haugen
3fa70506c4
Merge pull request #646 from dveeden/emptypwd
...
Return an empty string for an empty input.
2015-02-05 10:39:28 -08:00
Hunter Haugen
fa66b38b58
Merge pull request #657 from cmurphy/rspec
...
Pin rspec gems
2015-02-04 12:03:26 -08:00
Colleen Murphy
1394bd9513
Pin rspec gems
2015-02-04 17:02:04 +01:00
Hunter Haugen
9192a9d0ad
Merge pull request #656 from puppetlabs/revert-651-bug/master/root_account_fix
...
Revert "(#MODULES-1058) root_password.pp cannot create /root/.my.cnf due...
2015-02-03 13:53:08 -08:00
Travis Fields
77b7dbad7f
Revert "(#MODULES-1058) root_password.pp cannot create /root/.my.cnf due to depe..."
2015-02-03 13:51:03 -08:00
Igor Galić
a839489add
Merge pull request #651 from lodgenbd/bug/master/root_account_fix
...
(#MODULES-1058) root_password.pp cannot create /root/.my.cnf due to depe...
2015-01-30 16:03:08 +01:00
Rob Nelson
e08aa011f1
(MODULES-1731) Invalid parameter 'provider' removed from mysql_user instance.
2015-01-30 12:49:20 +00:00
Daniël van Eeden
279c13b5e3
Return an empty string for an empty input.
...
https://tickets.puppetlabs.com/browse/MODULES-1676
This is identical to what PASSWORD('') in MySQL does:
5.6.22-debug-log> CREATE USER 'testpwd'@'localhost' IDENTIFIED BY 'foo';
Query OK, 0 rows affected (0.03 sec)
5.6.22-debug-log> SELECT User,Host,Password FROM mysql.user WHERE
User='testpwd';
+---------+-----------+-------------------------------------------+
| User | Host | Password |
+---------+-----------+-------------------------------------------+
| testpwd | localhost | *F3A2A51A9B0F2BE2468926B4132313728C250DBF |
+---------+-----------+-------------------------------------------+
1 row in set (0.01 sec)
5.6.22-debug-log> SET PASSWORD FOR 'testpwd'@'localhost' = PASSWORD('');
Query OK, 0 rows affected (0.00 sec)
5.6.22-debug-log> SELECT User,Host,Password FROM mysql.user WHERE
User='testpwd';
+---------+-----------+----------+
| User | Host | Password |
+---------+-----------+----------+
| testpwd | localhost | |
+---------+-----------+----------+
1 row in set (0.00 sec)
2015-01-28 21:08:29 +01:00
Igor Galić
b98c0567ce
Merge pull request #652 from casharma/no_more_init
...
there is no class called mysql anymore (to test)
2015-01-28 16:14:01 +01:00
Carthik Sharma
2a17e54ab3
there is no class called mysql anymore (to test)
2015-01-27 17:20:37 -08:00
Brad Lodgen
c9c5eb3fd1
(#MODULES-1058) root_password.pp cannot create /root/.my.cnf due to dependency
...
The dependency of creating the root .my.cnf file is a command which requires
the .my.cnf file. This patch removes that dependency. Without removing the
dependency, if a user already has a mysql server installed with a root password
and no root .my.cnf file, the module application will fail.
2015-01-27 17:42:03 -06:00
Morgan Haskel
74e19691a2
Merge pull request #650 from cmurphy/fix_fix_tests
...
Fix acceptance tests from #648
2015-01-27 15:08:02 -08:00
Colleen Murphy
551d22fb84
Fix acceptance tests from #648
...
Missed Lucid the first time.
2015-01-27 15:05:37 -08:00
Morgan Haskel
d5defe2535
Merge pull request #648 from cmurphy/fix_tests
...
Fix acceptance tests from #641
2015-01-27 13:46:54 -08:00
Colleen Murphy
80236d1f3a
Fix acceptance tests from #641
2015-01-27 13:42:24 -08:00
Igor Galić
8dbe7c030d
Merge pull request #641 from dveeden/plugin
...
Add type & provider for managing plugins
2015-01-27 14:39:40 +01:00
Daniël van Eeden
74132ec038
Add type & provider for managing plugins
2015-01-26 15:03:45 +01:00
Daniël van Eeden
367fcf06af
Support authentication plugins
...
This uses CREATE USER xxx IDENTIFIED WITH yyy
For tests:
unix_socket is not loaded by default, so this might require:
install plugin unix_socket soname 'auth_socket.so';
The mysql_native_password plugin is available by default and
allows you to also set a password.
Try to make it compatible with MySQL < 5.5.7 it uses version
specific code with "/*!50508 stmt */"
2015-01-24 17:28:17 +01:00
Morgan Haskel
0623654438
Merge pull request #644 from puppetlabs/revert-640-auth-plugins
...
Revert "Support for authentication plugins"
2015-01-22 11:36:19 -08:00
Colleen Murphy
ccf37e7c8d
Revert "Support for authentication plugins"
2015-01-22 11:27:41 -08:00
TP Honey
1a87bae020
Merge pull request #637 from dveeden/account_localhost
...
Do the right thing when fqdn==localhost
2015-01-22 10:36:01 -08:00
Morgan Haskel
9a613bbc33
Merge pull request #638 from dveeden/doc-secure
...
Make sure the example is somewhat secure
2015-01-22 10:34:42 -08:00
Hunter Haugen
bcb615057b
Merge pull request #640 from dveeden/auth-plugins
...
Support for authentication plugins
2015-01-22 10:31:19 -08:00
Daniël van Eeden
c04fed1066
When fqdn==localhost account security breaks
...
This is because the root@localhost account is already
defined.
Remove localdomain accounts if fqdn is localhost
2015-01-18 15:02:17 +01:00
Daniël van Eeden
305b0d2a87
Support authentication plugins
...
This uses CREATE USER xxx IDENTIFIED WITH yyy
For tests:
unix_socket is not loaded by default, so this might require:
install plugin unix_socket soname 'auth_socket.so';
The mysql_native_password plugin is available by default and
allows you to also set a password.
2015-01-17 18:41:37 +01:00
Daniël van Eeden
d45b6a8097
Make sure the example is somewhat secure
2015-01-17 18:27:04 +01:00
Colleen Murphy
9f5539cb1d
Merge pull request #639 from juniorsysadmin/fix-service-lint-warning
...
Fix lint warning in server/service.pp
2015-01-10 23:27:18 -08:00
juniorsysadmin
2088fb8b36
Fix lint warning in server/service.pp
2015-01-11 15:35:10 +11:00
Morgan Haskel
23c192df9f
Merge pull request #634 from cyberious/ResourceTest
...
MODULES-1520 add test to assert it does not break
2015-01-02 11:52:06 -05:00
Travis Fields
8d7ab1d9c6
Merge pull request #635 from mhaskel/MODULES-1520
...
MODULES-1520 - update username validation
2015-01-02 08:50:34 -08:00
Travis Fields
d9d02718b8
MODULES-1520 add test to assert it does not break
2014-12-31 16:48:54 -08:00
Morgan Haskel
f92a24ef3d
MODULES-1520 - update username validation
...
Don't fail on validation where the user isn't quoted with special
characters. The providers quote these strings by default.
2014-12-31 11:50:48 -08:00
Colleen Murphy
4203867c01
Merge pull request #632 from mhaskel/future_parser_fix
...
Future parser fix in params.pp
2014-12-30 10:01:23 -08:00
Morgan Haskel
b20f04330c
Future parser fix in params.pp
2014-12-30 09:45:54 -08:00
Morgan Haskel
efeb01cee6
Merge pull request #631 from cmurphy/master
...
Add IntelliJ files to the ignore list
2014-12-29 11:22:49 -08:00
Colleen Murphy
83e87f5198
Add IntelliJ files to the ignore list
2014-12-29 10:41:12 -08:00
Igor Galić
d3f7254ecc
Merge pull request #616 from takumin/install_db_with_freebsd
...
mysql_install_db freebsd support
2014-12-23 18:03:25 +01:00
Igor Galić
5f62e6d455
Merge pull request #615 from KlavsKlavsen/master
...
ensure mysql-config-file and server package is in place before trying to...
2014-12-22 10:32:35 +01:00
Igor Galić
457194ce21
Merge pull request #629 from pishro-oss/master
...
under Debian 8 package name for ruby mysql biding is called ruby-mysql, ...
2014-12-19 20:37:04 +01:00
Armin ranjbar
263a9fa210
useless whitespace removed
2014-12-19 18:54:51 +03:30
Armin ranjbar
9f9061ea8f
under Debian 8 package name for ruby mysql biding is called ruby-mysql, just like trusty.
2014-12-19 17:03:46 +03:30
Hunter Haugen
ea7d66a7e4
Merge pull request #628 from mhaskel/merge_3.1.x_into_master
...
Merge 3.1.x into master
2014-12-16 17:12:00 -08:00
Colleen Murphy
09325e6451
Merge pull request #627 from mhaskel/metadata_fix
...
Forgot to add SLES12 to metadata. yay.
2014-12-16 16:47:55 -08:00