From 4351d8b9c8dac40f0f733fd7622d655241f113ba Mon Sep 17 00:00:00 2001 From: Karel Brezina Date: Fri, 15 Feb 2013 10:56:44 +0100 Subject: Added 'ini_subsetting' custom resource type --- README.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'README.markdown') 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. -- cgit v1.2.3