crowbar/crowbar-openstack

View on GitHub
chef/cookbooks/neutron/templates/default/dhcp_agent.ini.erb

Summary

Maintainability
Test Coverage
[DEFAULT]
interface_driver = <%= @interface_driver %>
resync_interval = <%= @resync_interval %>
dhcp_driver = <%= @dhcp_driver %>
<% if @force_metadata -%>
enable_isolated_metadata = False
enable_metadata_network = False
<% else -%>
enable_isolated_metadata = <%= @enable_isolated_metadata %>
enable_metadata_network = <%= @enable_metadata_network %>
<% end -%>
force_metadata = <%= @force_metadata %>
dns_domain = <%= @dns_domain %>
<% if @nameservers -%>
dnsmasq_dns_servers = <%= @nameservers %>
<% end -%>
<% if @debug -%>
dnsmasq_base_log_dir = /var/log/neutron
<% end -%>
debug = <%= @debug ? "True" : "False" %>
[AGENT]