Add quotes around policy name and rule

Policy name or rule may contain specific
symbols which can lead to sls rendering failure.

PROD-34318

Change-Id: Ia728e0f204eb579bc4b876d4db91f2f16f21fafd
diff --git a/glance/server.sls b/glance/server.sls
index ef48371..4422ed7 100644
--- a/glance/server.sls
+++ b/glance/server.sls
@@ -424,8 +424,8 @@
 glance_keystone_rule_{{ name }}_present:
   keystone_policy.rule_present:
   - path: /etc/glance/{{ server.get('oslo_policy', {}).get('policy_file', 'policy.json') }}
-  - name: {{ name }}
-  - rule: {{ rule }}
+  - name: '{{ name }}'
+  - rule: '{{ rule }}'
   - require:
     - pkg: glance_packages
     {%- if server.version not in ["juno", "kilo", "liberty", "mitaka", "newton", "ocata"] %}
@@ -437,7 +437,7 @@
 glance_keystone_rule_{{ name }}_absent:
   keystone_policy.rule_absent:
   - path: /etc/glance/{{ server.get('oslo_policy', {}).get('policy_file', 'policy.json') }}
-  - name: {{ name }}
+  - name: '{{ name }}'
   - require:
     - pkg: glance_packages
     {%- if server.version not in ["juno", "kilo", "liberty", "mitaka", "newton", "ocata"] %}