16 lines
333 B
Ruby
Raw Normal View History

Puppet::Type.type(:neutron_dhcp_agent_config).provide(
2012-10-09 14:58:58 +02:00
:ini_setting,
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
2012-10-09 14:58:58 +02:00
) do
def self.file_path
'/etc/neutron/dhcp_agent.ini'
2012-10-09 14:58:58 +02:00
end
# added for backwards compatibility with older versions of inifile
def file_path
self.class.file_path
end
2012-10-09 14:58:58 +02:00
end