chef/cookbooks/neutron/templates/default/metadata_agent.ini.erb
[DEFAULT]
<% unless @nova_metadata_settings.empty? %>
nova_metadata_host = <%= @nova_metadata_settings[:host] %>
metadata_proxy_shared_secret = <%= @nova_metadata_settings[:shared_secret] %>
nova_metadata_protocol = <%= @nova_metadata_settings[:protocol] %>
nova_metadata_insecure = <%= @nova_metadata_settings[:insecure] %>
nova_metadata_port = <%= @nova_metadata_settings[:port] %>
<% end %>
metadata_workers = <%= [node["cpu"]["total"]/2, 4].min %>
debug = <%= @debug ? "True" : "False" %>
[AGENT]