Files
puppet-nova/lib/puppet/provider/libvirtd_config/ini_setting.rb
zhangyangyang ffbd351569 Remove useless method file_path
This needs to be removed. This has been replaced with the class method.

Change-Id: I6f3e79b1ba5a3f7a4f320495f8df9f053bfd78f9
2017-10-06 13:53:17 +08:00

23 lines
293 B
Ruby

Puppet::Type.type(:libvirtd_config).provide(
:ini_setting,
:parent => Puppet::Type.type(:ini_setting).provider(:ruby)
) do
def section
''
end
def setting
resource[:name]
end
def separator
'='
end
def self.file_path
'/etc/libvirt/libvirtd.conf'
end
end