Issue #2558 has been updated by Luke Kanies.

Status changed from Accepted to Ready for Checkin
Assigned to changed from Luke Kanies to James Turnbull

Fixed in the tickets/master/2558 branch in my repo.
----------------------------------------
Bug #2558: undefined method environment on Puppet::FileServing::Mount::Modules
http://projects.reductivelabs.com/issues/2558

Author: Markus Roberts
Status: Ready for Checkin
Priority: High
Assigned to: James Turnbull
Category: modules
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0
Keywords: 


Running a puppetmasterd on a test setup which uses a module under 0.25.0 as of 
http://github.com/reductivelabs/puppet/commit/e408d6c7d562f126df97cd57e04fd7802bc53390
 gives the following:


<pre>
/usr/local/lib/site_ruby/1.8/puppet/file_serving/configuration.rb:43:in 
`find_mount'           
/usr/local/lib/site_ruby/1.8/puppet/file_serving/configuration.rb:75:in 
`split_path'           
/usr/local/lib/site_ruby/1.8/puppet/indirector/file_server.rb:18:in 
`authorized?'              
/usr/local/lib/site_ruby/1.8/puppet/indirector/indirection.rb:278:in 
`check_authorization'     
/usr/local/lib/site_ruby/1.8/puppet/indirector/indirection.rb:299:in `prepare'  
               
/usr/local/lib/site_ruby/1.8/puppet/indirector/indirection.rb:186:in `find'     
               
/usr/local/lib/site_ruby/1.8/puppet/indirector.rb:51:in `find'                  
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/handler.rb:99:in `do_find'     
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send'        
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process'     
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in 
`service'               
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'                        
               
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'                             
               
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'                       
               
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'                              
               
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'                       
               
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'                               
               
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'                                
               
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'                               
               
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'                               
               
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'                               
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'      
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `initialize'  
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `new'         
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'      
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick.rb:37:in `synchronize' 
               
/usr/local/lib/site_ruby/1.8/puppet/network/http/webrick.rb:37:in `listen'      
               
/usr/local/lib/site_ruby/1.8/puppet/network/server.rb:131:in `listen'           
               
/usr/local/lib/site_ruby/1.8/puppet/network/server.rb:146:in `start'            
               
/usr/local/lib/site_ruby/1.8/puppet/daemon.rb:128:in `start'                    
               
/usr/local/lib/site_ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main'  
               
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `send'                
               
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `run_command'         
               
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'                 
               
/usr/local/lib/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'        
               
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'                 
               
/usr/sbin/puppetmasterd:66                                                      
               
err: undefined method `environment' for 
#<Puppet::FileServing::Mount::Modules:0xb70ed35c>      
</pre>

Whereas under 
http://github.com/reductivelabs/puppet/commit/0ef5f228c20a34a562a1c20b206acf2af0eb41ba
 it does not.
 
Possibly minor fallout from the fix for #2544?


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to