Skip to content
Snippets Groups Projects
Commit e540589c authored by Nuno Esteves's avatar Nuno Esteves
Browse files

Include an example of using a wildcard with a reference to...

Include an example of using a wildcard with a reference to salt/saltstack#41178. Thanks to @scambra for the fix.
parent 7a386578
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,11 @@ mysql: ...@@ -97,7 +97,11 @@ mysql:
ssl-ISSUER: Name ssl-ISSUER: Name
ssl-CIPHER: Cipher ssl-CIPHER: Cipher
databases: 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'] grants: ['all privileges']
grant_option: True grant_option: True
escape: False escape: False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment