]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/snmpd/templates/default/snmpd.conf.erb
dulcy: switch to postgresql 12
[chef.git] / cookbooks / snmpd / templates / default / snmpd.conf.erb
index acddef7368dbbedb8d36b03ab84d3e2d9c3f6556..9239fbd309aaa7a90836264e51edd436578b0521 100644 (file)
@@ -2,4 +2,6 @@
 
 rocommunity     <%= @communities[node[:snmpd][:community]] %>
 syslocation     <%= node[:snmpd][:location] %>
+<% if node[:snmpd][:contact] -%>
 syscontact      <%= node[:snmpd][:contact] %>
+<% end -%>