Skip to content

Instantly share code, notes, and snippets.

@webframp
Created January 11, 2012 06:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
nifty chef run_list via map
name "collectd_server"
description "collectd server role"
run_list [ "recipe[collectd::server]" ].
concat( %w{ syslog librato cpu df disk interface memory swap }.map do |plugin|
"recipe[collectd_plugins::#{plugin}]"
end )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment