Install haveged to avoid entropy starvation
authorGrant Slater <git@firefishy.com>
Sun, 2 Nov 2014 01:43:58 +0000 (01:43 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 2 Nov 2014 01:43:58 +0000 (01:43 +0000)
cookbooks/hardware/recipes/default.rb

index 8c587d9f0d172122c2818ab72f27b91f60926851..a508fff6b55e7e3be4770a48f3469bb7e8a8de58 100644 (file)
@@ -148,6 +148,11 @@ template "/etc/initramfs-tools/conf.d/mdadm" do
   notifies :run, "execute[update-initramfs]"
 end
 
+package "haveged"
+service "haveged" do
+  action [:enable, :start]
+end
+
 if node[:kernel][:modules].include?("ipmi_si")
   package "ipmitool"
 end