Add lldpd support
authorGrant Slater <git@firefishy.com>
Tue, 27 Dec 2016 18:03:46 +0000 (18:03 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 27 Dec 2016 18:03:46 +0000 (18:03 +0000)
cookbooks/hardware/recipes/default.rb

index cc46376..9dd3c0a 100644 (file)
@@ -201,6 +201,13 @@ if node[:lsb][:release].to_f >= 12.10
   end
 end
 
+# Link Layer Discovery Protocol Daemon
+package "lldpd"
+service "lldpd" do
+  action [:start, :enable]
+  supports :status => true, :restart => true, :reload => true
+end
+
 tools_packages = []
 status_packages = {}