Add a base role, so that chef is updated before anything else
This commit is contained in:
parent
fddadbce25
commit
12355a6b27
|
@ -0,0 +1,6 @@
|
|||
name "base"
|
||||
|
||||
run_list %w(
|
||||
kosmos-base::chef_client
|
||||
kosmos-base::default
|
||||
)
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# Cookbook Name:: kosmos-base
|
||||
# Recipe:: chef_client
|
||||
#
|
||||
# Copyright 2019, Kosmos
|
||||
#
|
||||
# All rights reserved - Do Not Redistribute
|
||||
#
|
||||
|
||||
# Update chef to the chosen version
|
||||
chef_version = '14.11.21'
|
||||
chef_client_updater "Install #{chef_version}" do
|
||||
version chef_version
|
||||
end
|
|
@ -11,12 +11,6 @@ include_recipe 'apt'
|
|||
include_recipe 'timezone_iii'
|
||||
include_recipe 'ntp'
|
||||
|
||||
# Update chef to the chosen version
|
||||
chef_version = '14.11.21'
|
||||
chef_client_updater "Install #{chef_version}" do
|
||||
version chef_version
|
||||
end
|
||||
|
||||
package 'mailutils'
|
||||
package 'mosh'
|
||||
|
||||
|
|
Loading…
Reference in New Issue