module-inifile/lib/puppet/util
Chris Price c2c26de9b1 Respect indentation / spacing for existing sections and settings
This commit adds some cosmetic functionality.  The main two
improvements are:

* We'll now pay attention to indentation within existing
  sections, and when we write new settings or update
  existing ones, we'll match the existing indentation.

* When modifying existing settings, the regex now captures
  a greater portion of the original line and preserves it.
  Basically, the original whitespacing in the line should
  remain intact and only the value should be modified.
2012-10-20 00:08:06 -07:00
..
ini_file Respect indentation / spacing for existing sections and settings 2012-10-20 00:08:06 -07:00
external_iterator.rb Add support for "global" section at beginning of file 2012-08-17 04:48:28 -07:00
ini_file.rb Respect indentation / spacing for existing sections and settings 2012-10-20 00:08:06 -07:00