Skip to content

Instantly share code, notes, and snippets.

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