summaryrefslogtreecommitdiff
path: root/spec/data/bootstrap/test-hints.erb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/data/bootstrap/test-hints.erb')
-rw-r--r--spec/data/bootstrap/test-hints.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/data/bootstrap/test-hints.erb b/spec/data/bootstrap/test-hints.erb
index 7693fdc7c9..29ba710b42 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'
-<%= Chef::JSONCompat.to_json(hash) %>
+<%= hash.to_json %>
EOP
) > /etc/chef/ohai/hints/<%= name %>.json
<% end -%>