mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 09:40:26 +00:00
Include an example of using a wildcard with a reference to salt/saltstack#41178. Thanks to @scambra for the fix.
This commit is contained in:
parent
7a386578b7
commit
e540589cb0
1 changed files with 5 additions and 1 deletions
|
@ -97,7 +97,11 @@ mysql:
|
|||
ssl-ISSUER: Name
|
||||
ssl-CIPHER: Cipher
|
||||
databases:
|
||||
- database: "foo_%%"
|
||||
# https://github.com/saltstack/salt/issues/41178
|
||||
# If you want to refer to databases using wildcards, turn off escape so
|
||||
# the renderer does not escape them, enclose the string in '`' and
|
||||
# use two '%'
|
||||
- database: '`foo\_%%`'
|
||||
grants: ['all privileges']
|
||||
grant_option: True
|
||||
escape: False
|
||||
|
|
Loading…
Add table
Reference in a new issue