aboutsummaryrefslogtreecommitdiff
path: root/spec/acceptance/hosts.rb
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2018-06-28 11:16:45 -0700
committerJosh Cooper <josh@puppet.com>2018-06-28 11:16:45 -0700
commit31d0eeeaec6e6745fc831ea2da53c9db83d72602 (patch)
tree3a50ae97c241392d36b7530624f9fe426e3cc1ca /spec/acceptance/hosts.rb
parent3f7335673485221c012f712b603ff9fde9dcf512 (diff)
downloadpuppet-augeas_core-31d0eeeaec6e6745fc831ea2da53c9db83d72602.tar.gz
puppet-augeas_core-31d0eeeaec6e6745fc831ea2da53c9db83d72602.tar.bz2
Don't eval strings
Previously we were using eval to convert stringified arrays from the manifest into a ruby array. Use JSON instead, and ensure values are double quoted as required by JSON.
Diffstat (limited to 'spec/acceptance/hosts.rb')
0 files changed, 0 insertions, 0 deletions