Commit 7d68b786 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Add a chef config for Stretch that fixes some deprecation warnings

parent 6255f09f
......@@ -6,4 +6,4 @@ description 'System Software configuration and maintenance'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
source_url 'https://github.com/GSI-HPC/sys-chef-cookbook'
issues_url 'https://github.com/GSI-HPC/sys-chef-cookbook/issues'
version '1.26.1'
version '1.26.2'
# <%= @file_name %>
#
# DO NOT CHANGE THIS FILE MANUALLY!
#
# This file is managed by the Chef `sys` cookbook.
node_name '<%= node.fqdn %>'
chef_server_url '<%= @server_url %>'
client_key "<%= @client_key %>"
<% if @trusted_certs_dir -%>
trusted_certs_dir "<%= @trusted_certs_dir %>"
<% end -%>
<%- if @verify_ssl == 'all' -%>
# Verify all HTTPS connections
ssl_verify_mode :verify_peer
<%- elsif @verify_ssl == 'chef-server' -%>
# Verify only connections to chef-server
verify_api_cert true
<%- end -%>
validation_client_name "<%= @validation_client_name %>"
validation_key "<%= @validation_key %>"
log_level <%= @log_level %>
log_location <%= @use_syslog?'SyslogLogger.new("chef-client")':'STDOUT' %>
file_backup_path "/var/backups/chef"
file_cache_path "/var/cache/chef"
pid_file "/var/run/chef/client.pid"
# configuration for Ohai:
<%- unless @odisable.empty? -%>
<%# Make sure to write symbols into the configuration file %>
<%- plugins = @odisable.map { |p| p.capitalize.to_sym } -%>
ohai.disabled_plugins = <%= plugins %>
<%- end %>
ohai.plugin_path << "<%= @opath %>"
<%= @custom_config %>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment