module-inifile/spec/unit/puppet
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
..
provider/ini_setting Respect indentation / spacing for existing sections and settings 2012-10-20 00:08:06 -07:00
util Allow values with spaces to be parsed and set 2012-09-29 12:39:00 -07:00