If you really need the no longer maintained puppet 3, you'll have a better
time if you go back to one of the ruby versions supported by it, and make
sure that you get gem versions that were current back then.

On Mon, Dec 18, 2017 at 2:40 PM Steve R <steverosario...@gmail.com> wrote:

> hello,
>
> I'm trying to revive some old code, and I'm getting this error when i run
> the puppet agent
>
> I have never called the initialize_for_puppet in any of my
> manifests/modules, could this be something server side?
>
>
>
>
> on the server side:
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x000000023163c8>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/node/web1.tld?transaction_uuid=95ea04b9-614b-4766-beba-346af94ec8dc&fail_on_404=true
> HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/node/web1.tld?transaction_uuid=95ea04b9-614b-4766-beba-346af94ec8dc&fail_on_404=true
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000001fc8540>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadatas/pluginfacts?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=m
> d5 HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadatas/pluginfacts?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000001fa45a0>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadata/pluginfacts?links=manage&source_permissions=use
> HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadata/pluginfacts?links=manage&source_permissions=use
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x000000023271c8>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadatas/plugins?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5
> H
> TTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadatas/plugins?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000002270130>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadata/plugins?links=manage&source_permissions=ignore
> HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadata/plugins?links=manage&source_permissions=ignore
> [2017-12-17 17:06:13] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000002209390>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:13] 168.235.108.200 - - [17/Dec/2017:17:06:13 EST] "POST
> /production/catalog/web1.tld HTTP/1.1" 500 428
> [2017-12-17 17:06:13] - -> /production/catalog/web1.tld
> [2017-12-17 17:06:13] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x000000021ac938>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:13] 168.235.108.200 - - [17/Dec/2017:17:06:13 EST] "PUT
> /production/report/web1.tld HTTP/1.1" 500 428
>
>
>
> ------------------------------------------------------------
>
>
> On the client side
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x000000023163c8>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/node/web1.tld?transaction_uuid=95ea04b9-614b-4766-beba-346af94ec8dc&fail_on_404=true
> HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/node/web1.tld?transaction_uuid=95ea04b9-614b-4766-beba-346af94ec8dc&fail_on_404=true
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000001fc8540>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadatas/pluginfacts?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=m
> d5 HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadatas/pluginfacts?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000001fa45a0>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadata/pluginfacts?links=manage&source_permissions=use
> HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadata/pluginfacts?links=manage&source_permissions=use
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x000000023271c8>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadatas/plugins?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5
> H
> TTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadatas/plugins?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5
>
> [2017-12-17 17:06:12] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000002270130>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:12] 168.235.108.200 - - [17/Dec/2017:17:06:12 EST] "GET
> /production/file_metadata/plugins?links=manage&source_permissions=ignore
> HTTP/1.1" 500 428
> [2017-12-17 17:06:12] - ->
> /production/file_metadata/plugins?links=manage&source_permissions=ignore
> [2017-12-17 17:06:13] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x00000002209390>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:13] 168.235.108.200 - - [17/Dec/2017:17:06:13 EST] "POST
> /production/catalog/web1.tld HTTP/1.1" 500 428
> [2017-12-17 17:06:13] - -> /production/catalog/web1.tld
> [2017-12-17 17:06:13] ERROR NoMethodError: undefined method
> `initialize_for_puppet' for
> #<Puppet::Network::HTTP::WEBrickREST:0x000000021ac938>
> Did you mean?  initialize_copy
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick/rest.rb:13:in
> `initialize'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in `new'
>        /usr/lib/ruby/2.3.0/webrick/httpservlet/abstract.rb:86:in
> `get_instance'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:138:in `service'
>        /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
>        
> /var/lib/gems/2.3.0/gems/puppet-3.3.2/lib/puppet/network/http/webrick.rb:35:in
> `block (3 levels) in listen'
>        /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in
> start_thread'
> [2017-12-17 17:06:13] 168.235.108.200 - - [17/Dec/2017:17:06:13 EST] "PUT
> /production/report/web1.tld HTTP/1.1" 500 428
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/991ed75a-1efd-44cb-b41b-599654959251%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/991ed75a-1efd-44cb-b41b-599654959251%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CALF7fHYVJJW-jkOvGCyZp_aukP%2Bf-AFfj2CSu7Y39Hz-92tYbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to