add quotes to grains with special characters
authorPaul Tonelli <paul.tonelli@logilab.fr>
Wed, 17 Jul 2013 11:48:51 +0200
changeset 171 1a101aca2de0
parent 170 98db7459001a
child 172 012e818ed916
add quotes to grains with special characters
ami_post/upload.sls
--- a/ami_post/upload.sls	Tue Jul 16 19:34:50 2013 +0200
+++ b/ami_post/upload.sls	Wed Jul 17 11:48:51 2013 +0200
@@ -12,7 +12,7 @@
     file.append:
         - text: 
             - -----BEGIN CERTIFICATE-----
-            - {{ grains['aws.certificate'] }}
+            - '{{ grains['aws.certificate'] }}'
             - -----END CERTIFICATE-----
         - makedirs: True
         - require:
@@ -29,7 +29,7 @@
     file.append:
         - text: 
             - -----BEGIN RSA PRIVATE KEY-----
-            - {{ grains['aws.private_key'] }}
+            - '{{ grains['aws.private_key'] }}'
             - -----END RSA PRIVATE KEY-----
         - makedirs: True
         - require: