Let's use LWRP, should we?

Let's use LWRP, should we?

Chef Casual Talks Vol.2 (2013/05/20)
HIGUCHI Daisuke CREATIONLINE,INC.

Custom LWRPs (since 2013/05/24)
http://docs.opscode.com/lwrp_custom.html

Fde8436769d0733db19d4b8ee682739e?s=128

cl-lab-k

May 20, 2013
Tweet

Transcript

  1. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 LWRPを使ってみ ようかな? Chef Casual Talks Vol.2 (2013/05/20) HIGUCHI Daisuke CREATIONLINE,INC. Copyright (C) 2013 CREATIONLINE,INC. All Rights Reserved.
  2. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 ResourceとProvider Resourceはシステムの「あるべ き状態」の定義 Providerは「あるべき状態」を 満たすため手順
  3. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 LWRPとは? Lightweight Resources and Providers ResourceとProviderを作成する ためのフレームワーク
  4. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 LWRPの利点 容易にChefに機能を追加可能 定義と手順の分離 値の検証機能の提供
  5. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 Definitions 非推奨 http://acrmp.github.io/foodcritic/#FC015 FC015: Consider converting definition to a LWRP
  6. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 早速…… DefinitionsからLWRPに書き換 えてみよう 公式ドキュメントがない!
  7. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 本当に? docs http://docs.opscode.com/ essentials_cookbook_lwrp.html wiki http://wiki.opscode.com/download/ attachments/2883634/ Understanding_LWRP_Development.pdf
  8. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 重要なメソッド new_resource current_resource load_current_resource updated_by_last_action whyrun_supported converge_by
  9. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 非公式では?(日本語) Chef LWRP https://speakerdeck.com/kentaro/chef-lwrp 続・ChefでSourceから何かをインストールする Cookbookのウォークスルー http://qiita.com/items/ e4d840da4d91b0379c65
  10. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 非公式では?(英語) LWRP DEVELOPMENT http://www.slideshare.net/geekbri/lwrp- presentation Creating an LWRP, part 1〜3 http://dougireton.com/blog/2012/12/31/ creating-an-lwrp/
  11. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 でも…… 公式ドキュメントがほしい issuesに上げました(2013/5/10) https://github.com/opscode/chef-docs/ issues/76
  12. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 報告 Lacking documentation for writing own Providers Docs does not have a documentation for writing own Providers. For example, new_resource, current_reource, load_current_resource, updated_by_last_action, whyrun_supported, converge_by... They are needed to write proper Providers. Would you provide their documentation and some examples?
  13. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 結果 This is at the top of my queue, actually. I am hoping to have a draft out there sometime later next week for the whole "Custom LWRP" set of topics. https://github.com/opscode/chef-docs/blob/ master/docs_all/source/lwrps_custom.rst 今後が期待できるドラフト
  14. LWRPを使ってみようかな? - Chef Casual Talks Vol.2 (2013/05/20) Powered by Rabbit

    2.0.6 まとめ blogやtwitterでは届きません ウソ英語でも死にません どんどん報告しましょう installerが/usrを触る問題もpull req済 (2013/4/30) https://github.com/opscode/omnibus-chef/ pull/68 Copyright (C) 2013 CREATIONLINE,INC. All Rights Reserved.