I know it's trivial, but it looks odd to have mis-alignment like: <Location /roster> PassengerBaseURI /roster PassengerAppRoot /srv/whimsy/www/roster Options -MultiViews CheckSpelling Off # SetEnv HTTPS on </Location>
I think there's a trivial fix: Change content.strip!.gsub! /^#{content[/^\s+/]}/, ' ' to content.strip!.gsub! /^\s*/, ' ' at https://github.com/apache/infrastructure-puppet/blob/deployment/modules/vhosts_whimsy/lib/puppet/parser/functions/preprocess_vhosts.rb#L46 OK?