Modify `nomad` recipes to reflect the step changes.

This commit is contained in:
Kazuhiro MUSASHI 2024-11-03 10:58:04 +09:00
parent eaa7ddcd32
commit 015fe2ee31
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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'