commit 44fa6088bba6f1d9ba3cae264bcd727c40719976
Author: Maksim Malchuk <email address hidden>
Date: Wed Oct 28 12:37:59 2015 +0300
Quote "bad" passwords in 'astute.yaml' right before upload it to nodes
Astute uses Ruby 2.1 with YAML 'Psych' engine which is not compatible
with Ruby 1.9 'Psych' engine used by Hierra in Puppet to parse unquoted
strings of passwords started with prefixed numeral values.
This commit uses alternate version of 'YAML::dump' method with forced
quotation of strings according its value and attributes.
Also this commit should fix possible problem with unquoted strings
containing bad mac-addresses which started with two zeros.
This commit should be reverted after upgrading to Ruby 2.1 everywhere.
Reviewed: https:/ /review. openstack. org/239888 /git.openstack. org/cgit/ openstack/ fuel-astute/ commit/ ?id=44fa6088bba 6f1d9ba3cae264b cd727c40719976
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 44fa6088bba6f1d 9ba3cae264bcd72 7c40719976
Author: Maksim Malchuk <email address hidden>
Date: Wed Oct 28 12:37:59 2015 +0300
Quote "bad" passwords in 'astute.yaml' right before upload it to nodes
Astute uses Ruby 2.1 with YAML 'Psych' engine which is not compatible
with Ruby 1.9 'Psych' engine used by Hierra in Puppet to parse unquoted
strings of passwords started with prefixed numeral values.
This commit uses alternate version of 'YAML::dump' method with forced
quotation of strings according its value and attributes.
Also this commit should fix possible problem with unquoted strings
containing bad mac-addresses which started with two zeros.
This commit should be reverted after upgrading to Ruby 2.1 everywhere.
Change-Id: I7435da01016c4b 2266210eb9422ea 1fae87de7f8
Closes-Bug: #1494779