Double-quote all strings in astute.yaml
Puppet sometimes interprets a mac address as a numeric value and not a string. For this reason, it is necessary to enclose all values in quotes to avoid this issue. Change-Id: I68e3d558768d9f0afe7b8a60d9360cf257c92340 Closes-Bug: #1454708
This commit is contained in:
parent
a0ce9f05ac
commit
afbcea1d49
|
@ -98,7 +98,8 @@ class Settings():
|
|||
settings.update(self.read(outfn))
|
||||
settings.update(newvalues)
|
||||
outfile = file(outfn, 'w')
|
||||
yaml.dump(settings, outfile, default_flow_style=False)
|
||||
yaml.dump(settings, outfile, default_style='"',
|
||||
default_flow_style=False)
|
||||
return True
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue