projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
88f2d31ba768e9ac13d28f483276b5429ee3fb23
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
neutron
/
lib
/
puppet
/
provider
/
neutron_dhcp_agent_config
/
ini_setting.rb
1
Puppet::Type.type(:neutron_dhcp_agent_config).provide(
2
:ini_setting,
3
:parent => Puppet::Type.type(:ini_setting).provider(:ruby)
4
) do
5
6
def section
7
resource[:name].split('/', 2).first
8
end
9
10
def setting
11
resource[:name].split('/', 2).last
12
end
13
14
def separator
15
'='
16
end
17
18
def file_path
19
'/etc/neutron/dhcp_agent.ini'
20
end
21
22
end