summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorKarel Brezina <karel.brezina@gmail.com>2013-02-15 10:56:44 +0100
committerKarel Brezina <karel.brezina@gmail.com>2013-03-25 11:34:37 +0100
commit4351d8b9c8dac40f0f733fd7622d655241f113ba (patch)
tree50020a3b7d7abd357feb7a7eb70666144f3dafd3 /README.markdown
parent2008179ebea70d296f65a1809c961951884a7b11 (diff)
downloadpuppet-inifile-4351d8b9c8dac40f0f733fd7622d655241f113ba.tar.gz
puppet-inifile-4351d8b9c8dac40f0f733fd7622d655241f113ba.tar.bz2
Added 'ini_subsetting' custom resource type
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 53769e0..f0a9c0e 100644
--- a/README.markdown
+++ b/README.markdown
@@ -12,6 +12,21 @@ individual setting in an INI file. Here's an example usage:
ensure => present,
}
+A supplementary resource type is `ini_subsetting`, which is used to manage
+settings that consist of several arguments such as
+
+ JAVA_ARGS="-Xmx192m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/pe-puppetdb/puppetdb-oom.hprof "
+
+ ini_subsetting {'sample subsetting':
+ ensure => present,
+ section => '',
+ key_val_separator => '=',
+ path => '/etc/default/pe-puppetdb',
+ setting => 'JAVA_ARGS',
+ subsetting => '-Xmx',
+ value => '512m',
+ }
+
A few noteworthy features:
* The module tries *hard* not to manipulate your file any more than it needs to.