Issue #2238 has been updated by Jordan Curzon. Status changed from Closed to Re-opened
It appears that blank? is not always a method of String. Would it be better to find out why String is missing this method in this case or to just deal with it and use "var.nil? || var == ''" ? <pre> /opt/puppet/lib/puppet/network/http/handler.rb:185:in `decode_params' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' /opt/puppet/lib/puppet/network/http/handler.rb:183:in `each' /opt/puppet/lib/puppet/network/http/handler.rb:183:in `inject' /opt/puppet/lib/puppet/network/http/handler.rb:183:in `decode_params' /opt/puppet/lib/puppet/network/http/mongrel/rest.rb:27:in `params' /opt/puppet/lib/puppet/network/http/handler.rb:43:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' /opt/puppet/lib/puppet/network/http/mongrel.rb:22:in `listen' /opt/puppet/lib/puppet/network/server.rb:131:in `listen' /opt/puppet/lib/puppet/network/server.rb:146:in `start' /opt/puppet/lib/puppet/daemon.rb:128:in `start' /opt/puppet/lib/puppet/application/puppetmasterd.rb:96:in `main' /opt/puppet/lib/puppet/application.rb:226:in `send' /opt/puppet/lib/puppet/application.rb:226:in `run_command' /opt/puppet/lib/puppet/application.rb:217:in `run' /opt/puppet/sbin/puppetmasterd:66 err: undefined method `blank?' for "facts":String </pre> ---------------------------------------- Bug #2238: Fileserver under Apache/Mongrel chokes on recursive directories http://projects.reductivelabs.com/issues/2238 Author: Derek Whayman Status: Re-opened Priority: Normal Assigned to: Category: mongrel Target version: 0.25.0 Complexity: Unknown Affected version: 0.25.0 Keywords: E.g. manifest: <pre> $vardir = "/var/lib/puppet" file { "/var/lib/puppet/modularclientscripts": owner => root, group => root, mode => 0755, ensure => directory } file { scripts_bootloader: path => "$vardir/modularclientscripts/bootloader/", owner => root, group => root, mode => 0755, purge => true, ensure => directory, recurse => true, ignore => '.svn', force => true, source => "puppet:///modules/bootloader/scripts/", require => File["/var/lib/puppet/modularclientscripts"] } </pre> The scripts directory in the module contains a single file under it. In the puppetd output: <pre> err: //Node[default]/bootloader::setup/File[scripts_bootloader]: Failed to generate additional resources using 'eval_generate': Server returned 502: Proxy Error err: Reporting failed: Server returned 502: Proxy Error </pre> In the Apache puppet_access_log: <pre> [Mon May 11 16:44:52 2009] [error] [client 10.125.225.108] proxy: Error reading from remote server returned by /production/file_metadatas/bootloader/scripts [Mon May 11 16:44:53 2009] [error] [client 10.125.225.108] (70014)End of file found: proxy: error reading status line from remote server 127.0.0.1 </pre> Let me know if you need more information. Best regards, Derek -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
