diff --git a/cookbooks/nomad/csi.rb b/cookbooks/nomad/csi.rb index 222199c..34be89a 100644 --- a/cookbooks/nomad/csi.rb +++ b/cookbooks/nomad/csi.rb @@ -31,14 +31,7 @@ directory '/opt/cni/bin' do mode '0755' end -%w( bandwidth bridge dhcp firewall host-device host-local ipvlan loopback macvlan portmap ptp sbr static tuning vlan vrf ).each do |f| - remote_file "/opt/cni/bin/#{f}" do - owner 'root' - group 'root' - - mode '0775' - end -end +execute "eget containernetworking/plugins --to /opt/cni/bin --upgrade-only -a ^sha --all" directory '/etc/cni' do owner 'root' diff --git a/cookbooks/nomad/files/opt/cni/bin/bandwidth b/cookbooks/nomad/files/opt/cni/bin/bandwidth deleted file mode 100644 index cc834cf..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/bandwidth and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/bridge b/cookbooks/nomad/files/opt/cni/bin/bridge deleted file mode 100644 index 6c371ce..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/bridge and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/dhcp b/cookbooks/nomad/files/opt/cni/bin/dhcp deleted file mode 100644 index f62339a..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/dhcp and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/firewall b/cookbooks/nomad/files/opt/cni/bin/firewall deleted file mode 100644 index 27e5ecf..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/firewall and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/host-device b/cookbooks/nomad/files/opt/cni/bin/host-device deleted file mode 100644 index 082489a..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/host-device and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/host-local b/cookbooks/nomad/files/opt/cni/bin/host-local deleted file mode 100644 index 7c75ff5..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/host-local and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/ipvlan b/cookbooks/nomad/files/opt/cni/bin/ipvlan deleted file mode 100644 index a2e8186..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/ipvlan and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/loopback b/cookbooks/nomad/files/opt/cni/bin/loopback deleted file mode 100644 index 56a107d..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/loopback and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/macvlan b/cookbooks/nomad/files/opt/cni/bin/macvlan deleted file mode 100644 index 36608de..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/macvlan and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/portmap b/cookbooks/nomad/files/opt/cni/bin/portmap deleted file mode 100644 index ca96b93..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/portmap and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/ptp b/cookbooks/nomad/files/opt/cni/bin/ptp deleted file mode 100644 index 14c2023..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/ptp and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/sbr b/cookbooks/nomad/files/opt/cni/bin/sbr deleted file mode 100644 index ff97bbc..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/sbr and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/static b/cookbooks/nomad/files/opt/cni/bin/static deleted file mode 100644 index e28d72b..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/static and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/tuning b/cookbooks/nomad/files/opt/cni/bin/tuning deleted file mode 100644 index 1e0aed5..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/tuning and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/vlan b/cookbooks/nomad/files/opt/cni/bin/vlan deleted file mode 100644 index 339243e..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/vlan and /dev/null differ diff --git a/cookbooks/nomad/files/opt/cni/bin/vrf b/cookbooks/nomad/files/opt/cni/bin/vrf deleted file mode 100644 index a6f5709..0000000 Binary files a/cookbooks/nomad/files/opt/cni/bin/vrf and /dev/null differ