Merge "Write software_version in hieradata as a string"

This commit is contained in:
Zuul 2018-10-01 21:00:47 +00:00 committed by Gerrit Code Review
commit bed4cb2954

View File

@ -75,7 +75,7 @@ class PlatformPuppet(base.BasePuppet):
def _get_static_software_config(self): def _get_static_software_config(self):
return { return {
'platform::params::software_version': tsconfig.SW_VERSION, 'platform::params::software_version': self.quoted_str(tsconfig.SW_VERSION),
} }
def _get_secure_amqp_config(self): def _get_secure_amqp_config(self):
@ -325,7 +325,7 @@ class PlatformPuppet(base.BasePuppet):
# required parameters # required parameters
config = { config = {
'platform::params::hostname': host.hostname, 'platform::params::hostname': host.hostname,
'platform::params::software_version': host.software_load, 'platform::params::software_version': self.quoted_str(host.software_load),
} }
# optional parameters # optional parameters