diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-23 15:32:19 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-23 15:32:19 +0000 |
commit | bda74bcd8e569d8be26bd1b958e38c0a15f5177c (patch) | |
tree | db3bbc149575edfc8159e7ef7f2173117d4d1112 /lib/puppet | |
parent | f8115a79b97c89412616958f56ca1b723a6e2d24 (diff) | |
download | puppet-bda74bcd8e569d8be26bd1b958e38c0a15f5177c.tar.gz puppet-bda74bcd8e569d8be26bd1b958e38c0a15f5177c.tar.xz puppet-bda74bcd8e569d8be26bd1b958e38c0a15f5177c.zip |
Fixing #415. Configuration parsing now removes trailing whitespace.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2082 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb index 23268e463..77c167ae8 100644 --- a/lib/puppet/config.rb +++ b/lib/puppet/config.rb @@ -230,7 +230,7 @@ class Config when /^true$/i: true when /^\d+$/i: Integer(value) else - value.gsub(/^["']|["']$/,'') + value.gsub(/^["']|["']$/,'').sub(/\s+$/, '') end end |