【发布时间】:2017-06-13 00:32:06
【问题描述】:
我正在尝试创建一个 LWRP 来扩展超市食谱“webpshere”。
在我的资源文件中,我正在尝试使用父食谱中的基类来扩展此类。
在下面的代码中,'WebsphereBase' 在父库'websphere_base' 中定义。我可以就如何引用它获得帮助吗? 谢谢
#require 'websphere_base'
module PIWebsphereCookBook
class WebsphereJbdc < WebsphereBase
require_relative 'helper'
【问题讨论】:
标签: ruby chef-infra chef-recipe