Skip to content

Instantly share code, notes, and snippets.

@thommay
Created April 15, 2011 12:42
Show Gist options
  • Select an option

  • Save thommay/921631 to your computer and use it in GitHub Desktop.

Select an option

Save thommay/921631 to your computer and use it in GitHub Desktop.
template "/etc/snmp.conf" do
if node.recipes.include? "haproxy"
source "snmp-haproxy.conf.erb"
else
source "snmp.conf.erb"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment