已经通过降低厨师版本解决了
我在使用postgresql 接收(v3.0.2) 时遇到问题。我的厨师版本是 11.4.4。
里面有线recipes/config_initdb.rb
::Chef::Recipe.send(:include, Opscode::PostgresqlHelpers)
我看到模块Opscode::PostgresqlHelpers
定义在 libraries/default.rb
.
但它失败并出现错误uninitialized constant Chef::Recipe::Opscode
。
为什么不需要该库以及如何修复它?
编辑:
我手动要求该模块,它开始失败并出现类似错误uninitialized constant Opscode::OpenSSL
。
看起来没有加载任何库。可能是我想念一些流浪者/厨师的设置吗?