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:
Nuno Esteves 2018-12-18 22:35:51 +00:00
parent 7a386578b7
commit e540589cb0

View file

@ -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