]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Install nvme-cli on machines with nvme disks
[chef.git] / cookbooks / hardware / recipes / default.rb
index 7f1431320dd389d532e6157db5852150965a720b..3d29ade8e9e9734bd346f70432de2322e7b5c7d8 100644 (file)
@@ -353,6 +353,10 @@ nvmes = if node[:hardware][:pci]
           []
         end
 
+unless nvmes.empty?
+  package "nvme-cli"
+end
+
 intel_nvmes = nvmes.select { |pci| pci[:vendor_name] == "Intel Corporation" }
 
 if !intel_ssds.empty? || !intel_nvmes.empty?