diff options
author | Chris Price <chris@puppetlabs.com> | 2012-10-01 09:31:59 -0700 |
---|---|---|
committer | Chris Price <chris@puppetlabs.com> | 2012-10-01 09:31:59 -0700 |
commit | 6d3e6a137a3a1d8c369f5bab6ca5d5dd7b2ac67b (patch) | |
tree | 952a5cac41530e0f5a1a7665f1a792a8df5143f5 /lib/puppet | |
parent | e81a69adb5049f1b8fb433b3f37d82a4bb69d573 (diff) | |
parent | 3829e20c49652660aeac5c33f638dd19dca41f8e (diff) | |
download | puppet-inifile-6d3e6a137a3a1d8c369f5bab6ca5d5dd7b2ac67b.tar.gz puppet-inifile-6d3e6a137a3a1d8c369f5bab6ca5d5dd7b2ac67b.tar.bz2 |
Merge pull request #15 from reidmv/bug/master/spaces
Cool, thanks!
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/util/ini_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/ini_file.rb b/lib/puppet/util/ini_file.rb index 36bc8a6..b2e554f 100644 --- a/lib/puppet/util/ini_file.rb +++ b/lib/puppet/util/ini_file.rb @@ -6,7 +6,7 @@ module Util class IniFile SECTION_REGEX = /^\s*\[([\w\d\.\\\/\-\:]+)\]\s*$/ - SETTING_REGEX = /^\s*([\w\d\.\\\/\-]+)\s*=\s*([\S]+)\s*$/ + SETTING_REGEX = /^\s*([\w\d\.\\\/\-]+)\s*=\s*([\S\s]*\S)\s*$/ def initialize(path, key_val_separator = ' = ') @path = path |