forked from saltstack-formulas/mysql-formula
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for saltstack-formulas#119 using a custom module.
use in a state of mysql.cleanup_users for simple user management with removal. user.absent is supported too. pillar.example is updated
- Loading branch information
1 parent
78a31d8
commit 32b2c1c
Showing
3 changed files
with
27 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,12 @@ mysql: | |
# another host | ||
host: 123.123.123.123 | ||
# my.cnf sections changes | ||
auto_remove_user_not_managed: True | ||
# list of couple user@host, can be user@% | ||
# note: % will become a regexp (.*) matching everything | ||
keep_user_extra: | ||
- [email protected] | ||
- admin@% | ||
mysqld: | ||
# you can use either underscore or hyphen in param names | ||
bind-address: 0.0.0.0 | ||
|