class Kitchen::Provisioner::PolicyfileZero

def prepare_client_rb

Other tags:
    Api: - private
def prepare_client_rb
  data = default_config_rb.merge(config[:client_rb])
  data["use_policyfile"] = true
  data["versioned_cookbooks"] = true
  data["policy_name"] = policy_exporter.policy_name
  data["policy_group"] = "local"
  data["policy_document_native_api"] = true
  info("Preparing client.rb")
  debug("Creating client.rb from #{data.inspect}")
  File.open(File.join(sandbox_path, "client.rb"), "wb") do |file|
    file.write(format_config_file(data))
  end
end