Closed kellyjmk closed 12 years ago
You should already be able to do this. All .y[a]ml files in the configuration directory are loaded.
Yep, they're loaded but if I wanted to define graphs in multiple files, I would need a :graphs: key in each file. But the line "configs.each { |c| @rawconfig.merge!(YAML.load(File.read(c))) }" in lib/config.rb replaces duplicates. Is there some other way to do this?
Ok, I've added this to a3d0093, which github magically understands. :graphs and :dashboards are now merged "recursively".
Thanks!
I'd like to be able to group different categories of graphs into multiple files rather than having a single monolithic file. Thanks!