Sha256: ce3439614c75380c8a9b8659bebf63448e3ff46b0d7d23fa9b92cbf346cf414a

Contents?: true

Size: 323 Bytes

Versions: 383

Compression:

Stored size: 323 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

383 entries across 383 versions & 2 rubygems

Version Path
knife-18.6.13 spec/data/bootstrap/test-hints.erb
knife-18.6.2 spec/data/bootstrap/test-hints.erb
chef-18.6.2-universal-mingw-ucrt spec/data/bootstrap/test-hints.erb
chef-18.6.2 spec/data/bootstrap/test-hints.erb
chef-17.10.163-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-17.10.163 spec/data/bootstrap/test-hints.erb
knife-18.5.0 spec/data/bootstrap/test-hints.erb
chef-18.5.0-x64-mingw-ucrt spec/data/bootstrap/test-hints.erb
chef-18.5.0 spec/data/bootstrap/test-hints.erb
chef-18.4.12-x64-mingw-ucrt spec/data/bootstrap/test-hints.erb
chef-18.4.12 spec/data/bootstrap/test-hints.erb
chef-17.10.122-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-17.10.122 spec/data/bootstrap/test-hints.erb
chef-17.10.114-universal-mingw32 spec/data/bootstrap/test-hints.erb
chef-17.10.114 spec/data/bootstrap/test-hints.erb
knife-18.4.2 spec/data/bootstrap/test-hints.erb
chef-18.4.2-x64-mingw-ucrt spec/data/bootstrap/test-hints.erb
chef-18.4.2 spec/data/bootstrap/test-hints.erb
knife-17.10.95 spec/data/bootstrap/test-hints.erb
chef-17.10.95-universal-mingw32 spec/data/bootstrap/test-hints.erb