Reorder output and remove whitespace

This commit is contained in:
Hunter Haugen 2015-07-27 16:15:02 -07:00
parent 43f0c68631
commit af39974708

View file

@ -50,11 +50,6 @@ The inifile module tries hard not to manipulate your file any more than it needs
Use the `ini_subsetting` type:
~~~puppet
JAVA_ARGS="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/pe-puppetdb/puppetdb-oom.hprof"
~~~
~~~puppet
ini_subsetting {'sample subsetting':
ensure => present,
@ -67,13 +62,15 @@ ini_subsetting {'sample subsetting':
}
~~~
###Use a non-standard section header
Results in managing this `-Xmx` subsetting:
~~~puppet
default:
minage = 1
JAVA_ARGS="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/pe-puppetdb/puppetdb-oom.hprof"
~~~
###Use a non-standard section header
~~~puppet
ini_setting { 'default minage':
ensure => present,
@ -86,6 +83,13 @@ ini_setting { 'default minage':
}
~~~
Results in:
~~~puppet
default:
minage = 1
~~~
###Implement child providers
You might want to create child providers that inherit the `ini_setting` provider, for one or both of these purposes: