File: ini_subsetting.pp

package info (click to toggle)
puppet-module-puppetlabs-inifile 5.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 308 kB
  • sloc: ruby: 872; sh: 7; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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',
}