From 850e06211416a1145d9120ea26ae340eab48f0ad Mon Sep 17 00:00:00 2001 From: Nikolay Mahotkin Date: Fri, 22 Apr 2016 12:52:16 +0300 Subject: [PATCH] Fixing method SetHieraValue * SetHieraValue is fixed to receive values with spaces Change-Id: I965a2e6f6ac677c233ffd3d1e44bf62025d21dc2 --- murano-apps/Puppet/package/Resources/setYamlValue.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/murano-apps/Puppet/package/Resources/setYamlValue.template b/murano-apps/Puppet/package/Resources/setYamlValue.template index f297fe1..8dd1548 100644 --- a/murano-apps/Puppet/package/Resources/setYamlValue.template +++ b/murano-apps/Puppet/package/Resources/setYamlValue.template @@ -8,7 +8,7 @@ Parameters: value: $value Body: | - return putHieraData('{0} {1} {2}'.format(args.path, args.key, args.value)).stdout + return putHieraData('"{0}" "{1}" "{2}"'.format(args.path, args.key, args.value)).stdout Scripts: putHieraData: