]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/openstacklib/manifests/policy/base.pp
try with modules from master
[dsa-puppet.git] / 3rdparty / modules / openstacklib / manifests / policy / base.pp
index 01919fe650e27d1c279411339f3de16d5fca2d77..d5c457a5c67ded19eb14749c1c568d3a49e9073c 100644 (file)
@@ -28,17 +28,17 @@ define openstacklib::policy::base (
     incl    => $file_path,
     changes => [
       "set dict/entry[last()+1] \"${key}\"",
-      "set dict/entry[last()]/string \"${value}\""
+      "set dict/entry[last()]/string \"${value}\"",
     ],
-    onlyif  => "match dict/entry[*][.=\"${key}\"] size == 0"
+    onlyif  => "match dict/entry[*][.=\"${key}\"] size == 0",
   }
 
   # Requires that the entry is added before this call or it will fail.
   augeas { "${file_path}-${key}-${value}" :
     lens    => 'Json.lns',
     incl    => $file_path,
-    changes => "set dict/entry[*][.=\"${key}\"]/string ${value}",
-    require => Augeas["${file_path}-${key}-${value}-add"]
+    changes => "set dict/entry[*][.=\"${key}\"]/string \"${value}\"",
+    require => Augeas["${file_path}-${key}-${value}-add"],
   }
 
 }