diff --git a/templates/default/mongo.yaml.erb b/templates/default/mongo.yaml.erb index ff12b866..cf00897e 100644 --- a/templates/default/mongo.yaml.erb +++ b/templates/default/mongo.yaml.erb @@ -14,7 +14,19 @@ instances: ssl_certfile: <%= i['ssl_certfile'] %> ssl_keyfile: <%= i['ssl_keyfile'] %> <% end %> + <% if i.key?('additional_metrics') -%> + additional_metrics: + <% i['additional_metrics'].each do |t| %> + - <%= t %> + <%end -%> + <% end %> + <% if i.key?('collections') -%> + collections: + <% i['collections'].each do |t| %> + - <%= t %> + <%end -%> + <% end %> <% end -%> init_config: -# No init_config details needed +# No init_config details needed \ No newline at end of file