357ecf8e8e
* Insert_type and insert value can define where a new subsetting element will be placed. * subsetting_key_val_separator allows you to have a separator character between a subsetting name and its value. * Refactor ini_subsetting and its spec.
31 lines
1 KiB
Puppet
31 lines
1 KiB
Puppet
ini_subsetting { 'sample subsetting':
|
|
ensure => 'present',
|
|
section => '',
|
|
key_val_separator => '=',
|
|
path => '/etc/default/pe-puppetdb',
|
|
setting => 'JAVA_ARGS',
|
|
subsetting => '-Xmx',
|
|
value => '512m',
|
|
}
|
|
|
|
ini_subsetting { 'sample subsetting2':
|
|
ensure => 'absent',
|
|
section => '',
|
|
key_val_separator => '=',
|
|
path => '/etc/default/pe-puppetdb',
|
|
setting => 'JAVA_ARGS',
|
|
subsetting => '-Xms',
|
|
}
|
|
|
|
ini_subsetting { 'sample subsetting3':
|
|
ensure => 'present',
|
|
section => '',
|
|
key_val_separator => '=',
|
|
subsetting_key_val_separator => ':',
|
|
path => '/etc/default/pe-puppetdb',
|
|
setting => 'JAVA_ARGS',
|
|
subsetting => '-XX',
|
|
value => '+HeapDumpOnOutOfMemoryError',
|
|
insert_type => 'after',
|
|
insert_value => '-Xmx',
|
|
}
|