module-puppetlabs-mysql/spec/acceptance
Lars Kellogg-Stedman 0afb8f09e8 lowercase hostname values in qualified usernames
MySQL/MariaDB automatically downcase hostnames:

  MariaDB [mysql]> create user 'testuser'@'HOSTNAME';
  MariaDB [mysql]> select user,host from user where host = 'hostname';
  +----------+----------+
  | user     | host     |
  +----------+----------+
  | testuser | hostname |
  +----------+----------+

This causes problems when a mysql_user or datbase_user has an hostname
with non-lowercase characters:

  database_user { "root@HOSTNAME":
    ensure => absent,
  }

The SELECT statements used to determine if the user exists will fail
because the comparisons use "HOSTNAME" but the database has "hostname".
This patch forces the hostname part of "user@hostname" to lower case in
the custom type definitions.
2014-06-04 09:30:45 -04:00
..
nodesets change box parameter to ensure vbox436 on centos65 type in acceptance test 2014-02-26 14:10:34 -08:00
types lowercase hostname values in qualified usernames 2014-06-04 09:30:45 -04:00
mysql_account_delete_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00
mysql_backup_spec.rb Merge pull request #457 from igalic/independent-backup 2014-04-10 13:46:19 -04:00
mysql_bindings_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00
mysql_db_spec.rb Allow use different name for db resource other than db name 2014-03-15 13:38:13 -07:00
mysql_server_config_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00
mysql_server_monitor_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00
mysql_server_root_password_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00
mysql_server_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00
unsupported_spec.rb Add unsupported infrastructure for excluding OSes we can't test on. 2014-02-26 17:54:48 +00:00