try with modules from master
[mirror/dsa-puppet.git] / 3rdparty / modules / openstacklib / manifests / policy / base.pp
index 01919fe..d5c457a 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"],
   }
 
 }