]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/devices/recipes/default.rb
Add role for lockheed
[chef.git] / cookbooks / devices / recipes / default.rb
index c19acda9bf5772f9d54b9d7c943441217a117785..9bcaf898f07a8d166d76b6705ec1383e32526a71 100644 (file)
@@ -41,9 +41,11 @@ template "/etc/modprobe.d/nvme.conf" do
   owner "root"
   group "root"
   mode "644"
-  only_if { File.exist?("/sys/module/nvme/parameters/poll_queues") }
+  only_if { ::File.exist?("/sys/module/nvme/parameters/poll_queues") }
 end
 
+package "initramfs-tools"
+
 execute "update-initramfs" do
   action :nothing
   command "/usr/sbin/update-initramfs -u"