Comment 20 for bug 1494779

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (stable/7.0)

Reviewed: https://review.openstack.org/239888
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=44fa6088bba6f1d9ba3cae264bcd727c40719976
Submitter: Jenkins
Branch: stable/7.0

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.

    Change-Id: I7435da01016c4b2266210eb9422ea1fae87de7f8
    Closes-Bug: #1494779