YAML.load will return a hash, but YAML.parse was returning a Psych::Nodes::Document object. This PR also updates a few usages of .get_output and fixes a couple of spots that were broken after the refactor of .run. The new method does not handle double quotes well if sudo is used and was breaking .get_packages in our tests.
YAML.load will return a hash, but YAML.parse was returning a Psych::Nodes::Document object. This PR also updates a few usages of .get_output and fixes a couple of spots that were broken after the refactor of .run. The new method does not handle double quotes well if sudo is used and was breaking .get_packages in our tests.