【问题标题】:Chef reciepe 'postgresql' doesn't load libraries厨师接收'postgresql'不加载库
【发布时间】:2013-07-04 02:39:25
【问题描述】:

已经通过降低厨师版本解决了

postgresql reciepe (v3.0.2) 有问题。我的主厨版本是 11.4.4。

recipes/config_initdb.rbthere is line

::Chef::Recipe.send(:include, Opscode::PostgresqlHelpers) 

我看到模块 Opscode::PostgresqlHelpers defined in libraries/default.rb

但它失败并出现错误uninitialized constant Chef::Recipe::Opscode

为什么不需要该库以及如何修复它?

编辑:

我手动要求该模块,它开始失败并出现类似错误uninitialized constant Opscode::OpenSSL

看起来没有加载任何库。可能我想念一些流浪者/厨师的设置吗?

【问题讨论】:

    标签: ruby chef-infra vagrant


    【解决方案1】:

    我的问题已通过将 Chef 版本降低到 10.26.0 得到解决。我相信新厨师版本与某些食谱不兼容。

    【讨论】:

    • 如果是真的,最好在ticketing system 中查找此问题,如果未找到,请归档! :)
    • 不,实际上我现在转移到 Ansible。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-03-10
    • 2013-06-23
    • 2019-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多