diff options
Diffstat (limited to 'spec/data/bootstrap')
-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 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 -%> diff --git a/spec/data/bootstrap/test.erb b/spec/data/bootstrap/test.erb index 3a383b47d0..7cdc7dfdd0 100644 --- a/spec/data/bootstrap/test.erb +++ b/spec/data/bootstrap/test.erb @@ -1 +1 @@ -<%= Chef::JSONCompat.to_json(first_boot) %> +<%= first_boot.to_json %>
\ No newline at end of file |