X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fopenstacklib%2Fmanifests%2Fpolicy%2Fbase.pp;h=d5c457a5c67ded19eb14749c1c568d3a49e9073c;hb=71a236efd9f45828d875a0a5fd025108bb1dcada;hp=01919fe650e27d1c279411339f3de16d5fca2d77;hpb=8132e6bb1199463f5e334326659c974d4772b3e3;p=dsa-puppet.git diff --git a/3rdparty/modules/openstacklib/manifests/policy/base.pp b/3rdparty/modules/openstacklib/manifests/policy/base.pp index 01919fe6..d5c457a5 100644 --- a/3rdparty/modules/openstacklib/manifests/policy/base.pp +++ b/3rdparty/modules/openstacklib/manifests/policy/base.pp @@ -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"], } }