summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorChris Price <chris@puppetlabs.com>2013-03-25 11:00:41 -0700
committerChris Price <chris@puppetlabs.com>2013-03-25 11:00:41 -0700
commite824ab2abae16e97f9a19d21580d6825c4bf705e (patch)
tree0a6655cc785d224cd186988101beb68c0556036b /README.markdown
parent8064df6d004b7e24104c7899053a5c8627c35e1b (diff)
parent4351d8b9c8dac40f0f733fd7622d655241f113ba (diff)
downloadpuppet-inifile-e824ab2abae16e97f9a19d21580d6825c4bf705e.tar.gz
puppet-inifile-e824ab2abae16e97f9a19d21580d6825c4bf705e.tar.bz2
Merge pull request #29 from kbrezina/subsetting
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.