# Chef Server Core
chef_ingredient 'chef-server' do
  version node['test']['chef-server-core']['version']
  config <<-EOS
api_fqdn "#{node['fqdn']}"
ip_version "ipv6"
notification_email "#{node['chef_admin']}"
nginx["ssl_protocols"] = "TLSv1 TLSv1.1 TLSv1.2"
EOS
  action :reconfigure
end

# Management Console - using the compat shim resource
chef_server_ingredient 'manage' do
  accept_license true
  action :reconfigure
end

# Chef Server Core
chef_ingredient 'chef-server' do
  config <<-EOS
api_fqdn "#{node['fqdn']}"
ip_version "ipv6"
notification_email "#{node['chef_admin']}"
nginx["ssl_protocols"] = "TLSv1 TLSv1.1 TLSv1.2"
EOS
  action :reconfigure
end

# Management Console - using the compat shim resource
chef_server_ingredient 'manage' do
  accept_license true
  action :reconfigure
end

Fix a missing version attribute
Fix a missing version attribute

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
