summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-11-23 19:33:35 -0600
committerLuke Kanies <luke@madstop.com>2007-11-23 19:33:35 -0600
commit1486d3969c1f4ebf63c4d1c3ddb6c07f70c048b9 (patch)
treed6253f66724eb0584769b86a49dcd15e7cf8af20 /lib
parent03c8ffd76cc8f1f1e59527718f1a7235992866b7 (diff)
downloadpuppet-1486d3969c1f4ebf63c4d1c3ddb6c07f70c048b9.tar.gz
puppet-1486d3969c1f4ebf63c4d1c3ddb6c07f70c048b9.tar.xz
puppet-1486d3969c1f4ebf63c4d1c3ddb6c07f70c048b9.zip
Applying patch 20070913004017-6856b-cdbbba99de0b33b64874205a27833b5114fcc6b9.patch by womble -- Allow empty config settings
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/util/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/settings.rb b/lib/puppet/util/settings.rb
index 1db396dc4..bac832812 100644
--- a/lib/puppet/util/settings.rb
+++ b/lib/puppet/util/settings.rb
@@ -896,7 +896,7 @@ Generated on #{Time.now}.
result[section][:_meta] ||= {}
when /^\s*#/: next # Skip comments
when /^\s*$/: next # Skip blanks
- when /^\s*(\w+)\s*=\s*(.+)$/: # settings
+ when /^\s*(\w+)\s*=\s*(.*)$/: # settings
var = $1.intern
# We don't want to munge modes, because they're specified in octal, so we'll