Commit graph

23 commits

Author SHA1 Message Date
Till Maas
1738eba749 mysql_user: handle unnecessary GRANT revocation 2013-02-22 14:42:41 +01:00
Till Maas
2e904ae233 mysql_db/user: Use password for my.cnf
According to the MySQL docs[0] the password should be stored after
'password=' instead of 'pass='.

[0] http://dev.mysql.com/doc/refman/5.1/en/password-security-user.html
2013-02-22 13:25:34 +01:00
Blair Zajac
6d5991aa4c Simplify and correct comparisons with None. 2013-02-16 13:32:48 -05:00
Michael DeHaan
6f6559670f chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
Michael DeHaan
70366ec80c Fix for #1577 (python 2.4 compliance for mysql_user), tested only for syntax, please exercise MySQL fans! 2012-11-14 20:02:39 -05:00
Yvan Cottyn
650e4cbf11 Fix exception catching for Python 2.4 2012-11-09 14:28:21 +01:00
Michael DeHaan
8d3f73d562 pep8 fixes 2012-10-30 20:42:07 -04:00
Stijn Opheide
a090d6cef7 - removed space escapes from MySQL SHOW GRANTS regex
- proper checking for with grant option (if this is not the only option the user has)
- added revoking of grant option
2012-10-24 15:02:54 +02:00
Stijn Opheide
049e14e7d1 added the GRANT privilege for a mysql user (WITH GRANT OPTION) 2012-10-24 15:02:54 +02:00
Jan-Piet Mens
d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
2012-10-23 15:14:01 +02:00
Jan-Piet Mens
c78a0a4a49 Jumbo DOCUMENTATION patch 2012-10-01 09:18:54 +02:00
Jan-Piet Mens
eef198144f DOCUMENTATION for fetch,mount,ohai,easy_install
- .rst now supresses default if none is set (looks better in HTML)
  - .rst now handles empty options list
  - Fixed postgresql_user and mysql_user because YAML contained colons
  - docs for facter
2012-09-30 12:29:32 +02:00
Marco Vito Moscaritolo
63c7ee45d7 Added DOCUMENTATION to musql_user module. 2012-09-29 16:15:41 +02:00
Ingo Gottwald
b81b451038 Added login_unix_socket option to mysql_user module 2012-08-03 12:35:18 +02:00
Michael DeHaan
fe9a05f492 Module consistency and make daisy chaining work with invalid arguments detection. 2012-08-01 00:22:02 -04:00
Mark Theunissen
f0a9902c25 Changing the parameter names to be consistent, and adding root user default with empty password, as per mysql standard 2012-07-30 17:15:24 -05:00
Mark Theunissen
7a3f64d4d7 Check file exists instead of relying on the exception. Leave the exception catch in, in case the file is deleted or some other issue crops up 2012-07-26 11:30:22 -05:00
Mark Theunissen
812711d530 Woops, missed the rest of them 2012-07-26 11:13:10 -05:00
Mark Theunissen
b51d6d9fca Making the passwd parameter consistent 2012-07-26 11:10:22 -05:00
Mark Theunissen
894e4ff78a Changing to read from a file pointer instead so that an exception is thrown if the file doesn't exist 2012-07-26 08:58:21 -05:00
Mark Theunissen
5ab81692d7 Change modules to use credentials in my.cnf if they are available 2012-07-25 16:31:12 -05:00
Mark Theunissen
b279f1aea2 Upgrading MySQL user module to new format 2012-07-22 12:11:39 -05:00
Mark Theunissen
887d3993c4 The MySQL modules 2012-07-13 17:07:23 -05:00