smasa90
a05f263f4b
fix(db_load): preserve space between -h and -p on the db load cmd.wait
2019-12-10 11:48:27 +11:00
Eric Veiras Galisson
ec0e2a765a
style: remove previous line from jinja directives
2019-12-03 10:05:23 +01:00
Alexander Weidinger
39915a49fd
Handle empty/Null database_obj
2019-04-24 12:45:34 +02:00
Alexander Weidinger
3633a6ec84
Allow to remove DB
2019-04-09 23:59:44 +02:00
N
1e826ea487
Introduce standardized mapping files
2018-06-24 14:37:18 +01:00
Marius Kotsbak
4a8a9bf69a
Make formula relative to actual directory by using 'tpldir'
2018-05-18 19:58:35 +02:00
Achim Herwig
e5e55c74ad
Avoid -p option if password is empty.
...
Fixes #176
2018-02-21 21:55:09 +01:00
Eduardo Speroni
71c12e4a27
Added charset and collate support, ensuring backwards compatibility
2018-02-02 11:51:32 -02:00
Matthew X. Economou
3e20211d72
Feature setting the template context from the mysql:schema pillar
...
This simplifies how schema files can be templated, especially when using
the same template to set up multiple databases on the same server.
2016-09-11 06:09:59 -04:00
jam13
3bc30263c3
Allow loading into remote databases
2016-02-25 17:08:16 +00:00
Heinz Wiesinger
becff9fcdd
Fix wrong variable name for the salt user password in some files.
2015-10-09 10:12:32 +02:00
Heinz Wiesinger
e72c1c12d3
Add states for optional dedicated salt user instead of root.
2015-10-08 17:40:04 +02:00
Ron Williams
8b0c7cc71d
Fix database administrative user within database import command.
2015-09-24 19:30:03 -06:00
Matthew X. Economou
524b6e981c
Allow changing connection_user by setting the 'mysql:server:root_user' Pillar key
...
In some MySQL server configurations (e.g., Amazon RDS), the root account
may not be available. Instead, one may need to use a different account
in order to perform database administration. This change replaced hard-
coded references to the root account with a Pillar lookup that defaults
to 'root'. Existing users of this formula should see no change in its
behavior.
2015-05-18 10:33:27 -04:00
Tobias Alex-Petersen
462c2f4034
Add possibility of using another host (for db and user management)
2015-04-15 19:40:39 +02:00
Ross Perkins
1d3e2bb9ee
Added ability for SQL Schema sources to be templates
2015-03-18 12:43:27 -07:00
tiger-seo
454f09d61f
fixes #56 : pillar lookup.server value is ignored
2015-02-05 17:17:09 +02:00
David Boucha
5b16c57af5
create directory if not there
2014-10-20 13:02:43 -06:00
root
c55c2a4c46
Add support table param for mysql.user state (by default table is *)
...
Add support of changing/adding any attribute in my.cnf. NB!!! It breaks backward compatibility for mysql.server state.
Delete mysql_size param support (now you can customiza all my.cnf parameters in pillar)
Add script import_users.py that create user pillar for existent server
Add support root@localhost mysql user without password (root_password = False)
Add support of grant_option
2014-09-29 00:08:11 +09:00
Seth House
f5bebe3d38
Merge pull request #27 from thenewwazoo/schema_load
...
clever way to load DB schemas in 2014.1
2014-07-27 01:07:12 -06:00
Brandon Matthews
a842caf882
backed out rand_str calls
2014-07-26 23:54:48 -07:00
Brandon Matthews
ef312bc5e5
clever way to load DB schemas in 2014.1
2014-07-26 23:48:56 -07:00
Chad Heuschober
b53d61adfc
Adds meta state and also deals with the default password security issue.
2014-07-01 15:18:54 -04:00
Matt Herrmann
6bfa8c7c2b
Add name declaration to database creation in database.sls
2014-05-27 16:05:32 +10:00
Chad Heuschober
adacdb49e4
Fixed state names without proper namespacing that could lead to potential conflicts.
2014-05-21 12:06:17 -04:00
Clayton Kramer
13f6ff1c6a
Moved the python-mysql package out of the server installed and added it as a SLS include for the database and user SLS that depend on it.
2014-05-15 17:15:09 -04:00
Clayton Kramer
d81c6341e9
Added support for MySQL hashed user password. Also added some improved YAML quoting around passwords.
2014-05-15 16:40:02 -04:00
Clayton Kramer
c5bbc00620
Added new database and user SLS files that were left out of previous commits.
2014-05-12 12:35:06 -04:00