Modify `nomad` recipes to reflect the step changes.
This commit is contained in:
parent
eaa7ddcd32
commit
015fe2ee31
|
@ -4,9 +4,12 @@ include_recipe './install.rb'
|
||||||
|
|
||||||
if node['nomad']['client']
|
if node['nomad']['client']
|
||||||
include_recipe '../docker/default.rb'
|
include_recipe '../docker/default.rb'
|
||||||
|
include_recipe './csi.rb'
|
||||||
|
|
||||||
|
package "consul-cni"
|
||||||
|
package "dmidecode"
|
||||||
end
|
end
|
||||||
|
|
||||||
if node['nomad']['manager'] || node['nomad']['client']
|
if node['nomad']['manager'] || node['nomad']['client']
|
||||||
include_recipe './setup.rb'
|
include_recipe './setup.rb'
|
||||||
include_recipe './csi.rb'
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Kernel parameters:
|
# Kernel parameters:
|
||||||
execute 'modprobe br_netfilter'
|
execute 'modprobe br_netfilter'
|
||||||
|
execute 'modprobe bridge'
|
||||||
|
|
||||||
remote_file '/etc/sysctl.d/90-nomad.conf' do
|
remote_file '/etc/sysctl.d/90-nomad.conf' do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
|
|
Loading…
Reference in New Issue