From 774415b1561dcbbbb8e98c1ad48d3378e90ea791 Mon Sep 17 00:00:00 2001 From: lutter Date: Wed, 21 Feb 2007 17:14:26 +0000 Subject: Allow 'key=' to be the only thing on a line (livna uses this) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2218 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/util/inifile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/util/inifile.rb b/lib/puppet/util/inifile.rb index d050e6dd1..bd01759ba 100644 --- a/lib/puppet/util/inifile.rb +++ b/lib/puppet/util/inifile.rb @@ -129,7 +129,7 @@ module Puppet::Util::IniConfig section.mark_clean unless section.nil? section = add_section($1, file) optname = nil - elsif l =~ /^\s*([^\s=]+)\s*\=(.+)$/ + elsif l =~ /^\s*([^\s=]+)\s*\=(.*)$/ # We allow space around the keys, but not the values # For the values, we don't know if space is significant if section.nil? -- cgit