nifty chef run_list via map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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