Including a Chef LWRP from another cookbook

前端 未结 1 536
时光取名叫无心
时光取名叫无心 2021-02-06 02:28

I wrote a small LWRP my app cookbook (trim_log), and it works. However, now I am trying to move this particular LWRP in to the commons coo

1条回答
  •  既然无缘
    2021-02-06 02:37

    I believe you need to:

    • Declare in the app/metadata.rb that you depend on the commons cookbook.
    • Refer to the resource as commons_trim_log in app/recipes/default.rb.

    0 讨论(0)
提交回复
热议问题