blob: c2a6e4254b48ff5e877674d8e69febdfb00f4c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
chef_client_config "Create chef-client's client.rb" do
chef_server_url "https://localhost"
chef_license "accept"
ohai_optional_plugins %i{Passwd Lspci Sysctl}
ohai_disabled_plugins %i{Sessions Interrupts}
additional_config <<~CONFIG
begin
require 'aws-sdk'
rescue LoadError
Chef::Log.warn "Failed to load aws-sdk."
end
CONFIG
end
|