cookbooks/build_node/recipes/default.rb in wombat-cli-0.2.0 vs cookbooks/build_node/recipes/default.rb in wombat-cli-0.2.1
- old
+ new
@@ -1,10 +1,14 @@
#
# Cookbook Name:: build-node
# Recipe:: default
#
# Copyright (c) 2016 The Authors, All Rights Reserved.
+apt_update 'packages' do
+ action :update
+ only_if { node['platform_family'] == 'debian' }
+end
directory '/etc/chef'
directory '/etc/chef/trusted_certs'
%w(chef automate compliance).each do |f|
@@ -28,8 +32,7 @@
)
end
node.set['push_jobs']['chef']['chef_server_url'] = node['demo']['chef_server_url']
node.set['push_jobs']['chef']['node_name'] = "build-node-#{node['demo']['node-number']}"
-include_recipe 'wombat::authorized-keys'
-include_recipe 'wombat::etc-hosts'
+
include_recipe 'delivery_build::default'