Sha256: 45b384db71a1da8daa2c20e38b4e21124f12dcb8114a24b97a63fb191a91eee0

Contents?: true

Size: 335 Bytes

Versions: 42

Compression:

Stored size: 335 Bytes

Contents

<%# Generate Ohai Hints -%>
<% unless @chef_config[:knife][:hints].nil? || @chef_config[:knife][:hints].empty? -%>
mkdir -p /etc/chef/ohai/hints
<% end -%>

<% @chef_config[:knife][:hints].each do |name, hash| -%>
(
cat <<'EOP'
<%= Chef::JSONCompat.to_json(hash) %>
EOP
) > /etc/chef/ohai/hints/<%= name %>.json
<% end -%>

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
knife-17.10.163 spec/data/bootstrap/test-hints.erb
knife-18.2.7 spec/data/bootstrap/test-hints.erb
knife-18.2.5 spec/data/bootstrap/test-hints.erb
knife-18.0.185 spec/data/bootstrap/test-hints.erb
chef-14.13.11-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-15.0.300-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-15.0.298-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-15.0.293-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.12.9-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.12.3-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-13.12.14-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.11.21-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.10.9-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.9.13-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.8.12-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.7.17-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-13.12.3-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.6.47-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-13.11.3-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-14.5.33-universal-mingw32 spec/data/bootstrap/test-hints.erb