From e540589cb06da9d077943f953cd226f45ee0bcc2 Mon Sep 17 00:00:00 2001
From: Nuno Esteves <nesteves@users.noreply.github.com>
Date: Tue, 18 Dec 2018 22:35:51 +0000
Subject: [PATCH] Include an example of using a wildcard with a reference to
 salt/saltstack#41178. Thanks to @scambra for the fix.

---
 pillar.example | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pillar.example b/pillar.example
index 7f82ab2..21ebdfa 100644
--- a/pillar.example
+++ b/pillar.example
@@ -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
-- 
GitLab