To make allocated_hugepages fact compatible with different Ruby versions
(1.9.3, 2.0) it's safer to return a hash as JSON and then parse to avoid
different types conversion
Change-Id: If7adadd2de2cc7154281a0d9cbadf825dffe5d2c
Closes-bug: #1572110
(cherry picked from commit fb899cc93c4583ae8ad90044aeb2a8901e427211)
Reviewed: https:/ /review. openstack. org/308293 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=da69e6bd4fa a30224af8d759ff fa9a9d8782c8d7
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit da69e6bd4faa302 24af8d759fffa9a 9d8782c8d7
Author: Sergey Kolekonov <email address hidden>
Date: Tue Apr 19 16:52:24 2016 +0300
Make allocated_hugepages compatible with Ruby 2.0
To make allocated_hugepages fact compatible with different Ruby versions
(1.9.3, 2.0) it's safer to return a hash as JSON and then parse to avoid
different types conversion
Change-Id: If7adadd2de2cc7 154281a0d9cbadf 825dffe5d2c e8ad90044aeb2a8 901e427211)
Closes-bug: #1572110
(cherry picked from commit fb899cc93c4583a