[chef] Re: Re: postgresql error: uninitialized constant Chef::Recipe::PGError


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Re: Re: postgresql error: uninitialized constant Chef::Recipe::PGError
  • Date: Mon, 6 Aug 2012 10:36:00 -0700 (PDT)


Bug filed here:
http://tickets.opscode.com/browse/COOK-1391
marked as resolved, but problem still exists in postgresql 0.99.4

This change:
--- a/recipes/client.rb
+++ b/recipes/client.rb
@@ -42,3 +42,4 @@ end
 gem_package "pg" do
   action :nothing
 end.run_action(:install)
+Gem.clear_paths

had no effect.

Also tried:
--- a/recipes/client.rb
+++ b/recipes/client.rb
@@ -39,6 +39,8 @@ pg_packages.each do |pg_pack|
   end.run_action(:install)
 end
 
-gem_package "pg" do
-  action :nothing
-end.run_action(:install)
+chef_gem "pg"
+#gem_package "pg" do
+#  action :nothing
+#end.run_action(:install)
+Gem.clear_paths

as indicated in the resolved bug report, no change.

This fails on the:
chef_gem "pg"
line (line 42):

[Mon, 06 Aug 2012 10:49:22 -0700] ERROR: chef_gem[pg] (postgresql::client line
42) has had an error


  • [chef] Re: Re: postgresql error: uninitialized constant Chef::Recipe::PGError, bruce.edge, 08/06/2012

Archive powered by MHonArc 2.6.16.

§