Fix docs path in common rpm spec file
[apex.git] / build / puppet-neutron / lib / puppet / type / neutron_agent_vpp.rb
1 Puppet::Type.newtype(:neutron_agent_vpp) do
2
3   ensurable
4
5   newparam(:name, :namevar => true) do
6     desc 'Section/setting name to manage from vpp agent config.'
7     newvalues(/\S+\/\S+/)
8   end
9
10   newproperty(:value) do
11     desc 'The value of the setting to be defined.'
12     munge do |value|
13       value = value.to_s.strip
14       value.capitalize! if value =~ /^(true|false)$/i
15       value
16     end
17   end
18
19   newparam(:ensure_absent_val) do
20     desc 'A value that is specified as the value property will behave as if ensure => absent was specified'
21     defaultto('<SERVICE DEFAULT>')
22   end
23
24   autorequire(:package) do
25     'networking-vpp'
26   end
27
28 end