diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-09-26 13:09:30 -0700 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-10-07 16:40:38 -0700 |
commit | d43b35014e18e0cc2ebae6e482f8a2b5a00c4fab (patch) | |
tree | e4089af21e4d465f2b9c5464121b2d93e5667c43 /spec | |
parent | cfd9d2efea9581126881598ec68a117121b61b8a (diff) | |
download | chef-d43b35014e18e0cc2ebae6e482f8a2b5a00c4fab.tar.gz |
Fixing some more changes I missed
Diffstat (limited to 'spec')
-rw-r--r-- | spec/data/bootstrap/test-hints.erb | 2 | ||||
-rw-r--r-- | spec/data/bootstrap/test.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/data/bootstrap/test-hints.erb b/spec/data/bootstrap/test-hints.erb index 29ba710b42..7693fdc7c9 100644 --- a/spec/data/bootstrap/test-hints.erb +++ b/spec/data/bootstrap/test-hints.erb @@ -6,7 +6,7 @@ mkdir -p /etc/chef/ohai/hints <% @chef_config[:knife][:hints].each do |name, hash| -%> ( cat <<'EOP' -<%= hash.to_json %> +<%= Chef::JSONCompat.to_json(hash) %> EOP ) > /etc/chef/ohai/hints/<%= name %>.json <% end -%> diff --git a/spec/data/bootstrap/test.erb b/spec/data/bootstrap/test.erb index 7cdc7dfdd0..3a383b47d0 100644 --- a/spec/data/bootstrap/test.erb +++ b/spec/data/bootstrap/test.erb @@ -1 +1 @@ -<%= first_boot.to_json %>
\ No newline at end of file +<%= Chef::JSONCompat.to_json(first_boot) %> |