{"id":13197,"date":"2016-03-11T12:00:46","date_gmt":"2016-03-11T03:00:46","guid":{"rendered":"http:\/\/www.creationline.com\/?p=13197"},"modified":"2016-03-11T11:40:45","modified_gmt":"2016-03-11T02:40:45","slug":"%e5%92%8c%e8%a8%b3-chef-client-12-5-%e3%81%ae%e7%8b%ac%e8%87%aa-resource-getchef","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/13197","title":{"rendered":"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef"},"content":{"rendered":"<p>\u672c\u7a3f\u306f <a href=\"https:\/\/www.chef.io\/blog\/2015\/11\/06\/custom-resources-in-chef-client-12-5\/\">Custom Resources in Chef Client 12.5<\/a> (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p>2015\u5e7410\u670828\u65e5\u3001Chef \u793e\u306e Principal Engineer \u3067\u3042\u308b John Keiser \u304c Chef Client 12.5 \u306e\u72ec\u81ea Resource \u306b\u95a2\u3059\u308b Webinar \u3092\u884c\u3044\u307e\u3057\u305f\u3002John \u306f\u72ec\u81ea Resource \u306e\u6982\u5ff5\u3092\u7d39\u4ecb\u3057\u3001\u306a\u305c\u305d\u308c\u3092\u66f8\u304f\u3079\u304d\u306a\u306e\u304b\u3092\u8aac\u660e\u3057\u3001\u8a00\u8a9e\u6982\u5ff5\u3092\u7d39\u4ecb\u3057\u3001\u4f5c\u6210\u65b9\u6cd5\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>Webinar \u306e\u9332\u753b\u306f\u3053\u3061\u3089\u3067\u8996\u8074\u53ef\u80fd\u3067\u3059\u3002\u751f\u653e\u9001\u3067\u7b54\u3048\u308b\u3053\u3068\u306e\u3067\u304d\u306a\u304b\u3063\u305f\u8cea\u554f\u3092\u542b\u3080\u8cea\u7591\u5fdc\u7b54\u3092\u3053\u306e\u6295\u7a3f\u306e\u6700\u5f8c\u306b\u8a18\u8f09\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><iframe loading=\"lazy\" style=\"overflow: hidden;\" src=\"https:\/\/www.brighttalk.com\/clients\/js\/embed\/embed_frame.html?channelid=11349&amp;communicationid=175693&amp;player=webcast_player&amp;theme=chef.swf&amp;width=656&amp;height=627\" width=\"656\" height=\"627\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><br \/>\n<\/iframe><\/p>\n<h2>\u8cea\u7591\u5fdc\u7b54<\/h2>\n<h3>\u300c\u4ee5\u524d\u306e\u3084\u308a\u65b9\u300d\u306f\u4eca\u5f8c\u306e Chef \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u63a8\u5968\u3057\u306a\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/h3>\n<p>\u4ee5\u524d\u306e\u65b9\u6cd5\u3092\u524a\u9664\u3059\u308b\u4e88\u5b9a\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u308c\u3092\u5229\u7528\u3059\u308b Cookbook \u304c\u65e2\u306b\u591a\u304f\u51fa\u56de\u3063\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002\u4e0b\u4f4d\u4e92\u63db\u6a5f\u80fd\u306f\u4fdd\u6301\u3057\u307e\u3059\u304c\u3001\u904e\u53bb\u306e LWRP\/HWRP \u30d1\u30e9\u30c0\u30a4\u30e0\u306f\u3082\u306f\u3084 Resource \u3092\u4f5c\u6210\u3059\u308b\u300c\u63a8\u5968\u306e\u300d\u65b9\u6cd5\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>pure ruby \u3092 Chef DSL \u69cb\u7bc9\u306b\u518d\u30de\u30c3\u30d7\u3059\u308b\u305f\u3081\u306e\u30c8\u30ea\u30c3\u30af\u3084\u30a2\u30c9\u30d0\u30a4\u30b9\u306f\u3042\u308a\u307e\u3059\u304b\uff1f Provider \u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001pure ruby \u3067\u901a\u77e5\u3092\u9001\u4fe1\u3057\u305f\u308a\u3001pure ruby \u3067 Chef \u7d44\u307f\u8fbc\u307f Resource \u3084 Provider \u3092\u751f\u6210\u3059\u308b (\u307e\u305f\u306f include_recipe \u306e\u3088\u3046\u306a\u305d\u306e\u4ed6\u306e DSL \u6a5f\u80fd\u3092\u7528\u3044\u308b) \u5fc5\u8981\u304c\u3042\u308a\u3001\u7d50\u5c40 Ruby \u306e\u300crequire\u300d\u30d5\u30a1\u30a4\u30eb\u3092 Chef \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u4f53\u3067\u8ffd\u8de1\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/h3>\n<p>Resource \u5185\u304b\u3089\u305d\u308c\u3089\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306a\u3089\u3070\u3001\u65b0\u3057\u3044 Resource (include_recipe \u3084 Resource \u5185\u3067\u52d5\u3044\u3066\u3044\u308b\u4ed6\u306e Resource) \u3067\u65e2\u306b\u5229\u7528\u53ef\u80fd\u306e\u306f\u305a\u3067\u3059\u3002\u4e00\u822c\u7684\u306b\u3001\u79c1\u306f\u53ef\u80fd\u3067\u3042\u308c\u3070 DSL \u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u30021\u3064\u306e\u30b3\u30c4\u3068\u3057\u3066\u306f\u3001\u547c\u3073\u51fa\u3057\u3066\u3044\u308b Recipe \u3084 Resource \u306b\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u305d\u3046\u3059\u308b\u3053\u3068\u3067\u305d\u308c\u3092\u7528\u3044\u3066 Resource \u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059:<\/p>\n<p><code lang=\"ruby\">recipe = self; ruby_block 'x' { block { recipe.file '\/x.txt' }}<\/code><\/p>\n<h3>Resource \u3068 Provider \u306e\u30d1\u30bf\u30fc\u30f3\u306f\u3001Resource \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3059\u3079\u3066\u3092\u66f8\u3044\u3066\u5b9f\u88c5\u3059\u308b\u3088\u308a\u3082\u826f\u3044\u30ab\u30d7\u30bb\u30eb\u5316\u3067\u3042\u308b\u3088\u3046\u306b\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u9593\u9055\u3063\u3066\u3044\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u3053\u3061\u3089\u306e\u307b\u3046\u304c\u5bb9\u6613\u3067\u3042\u308b\u3053\u3068\u306e\u6700\u5927\u306e\u7406\u7531\u3068\u3057\u3066\u306f\u3001Resource \u3092\u66f8\u304d\u305f\u3044\u4eba\u304c\u65b0\u3057\u3044\u6982\u5ff5\u3092\u5b66\u3076\u5fc5\u8981\u304c\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3042\u306a\u305f\u306f Recipe \u3082 Resource \u3082 Action \u3082\u3059\u3067\u306b\u3054\u5b58\u3058\u3067\u3059\u306d\u3002Provider \u3068\u306f\u4f55\u3067\u3057\u3087\u3046\uff1f ...\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u79d1\u5b66\u306e\u8996\u70b9\u304b\u3089\u898b\u308c\u3070\u3001\u3053\u308c\u306f\u30b3\u30f3\u30af\u30ea\u30fc\u30c8\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u3068\u3001\u5225\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3068\u5b9f\u88c5\u3092\u6301\u3064\u3053\u3068\u306e\u9055\u3044\u3067\u3059\u3002\u3059\u3079\u3066\u306e\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3068\u5b9f\u88c5\u306b\u5206\u3051\u305a\u3001\u30b5\u30d6\u30af\u30e9\u30b9\u3092\u5897\u3084\u3057\u305f\u308a\u3001\u5f8c\u3067\u524a\u9664\u3057\u305f\u3044\u30af\u30e9\u30b9\u306e\u307f\u3092\u5206\u3051\u307e\u3059\u3088\u306d\u3002\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u30b3\u30fc\u30c9\u304c\u8aad\u307f\u3065\u3089\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u3046\u3044\u3046\u308f\u3051\u3067\u3001\u5b9f\u88c5\u3092\u5225\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5165\u308c\u3066\u7d50\u69cb\u3067\u3059\u3002\u305f\u3060\u3001\u305d\u308c\u306f Provider \u3067\u306f\u306a\u3044\u3068\u3044\u3046\u3060\u3051\u3067\u3059\u3002<\/p>\n<h3>why-run \u30ed\u30b8\u30c3\u30af\u3092\u3069\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u305f\u306e\u304b\u4f8b\u3092\u898b\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<p>why-run \u306f\u5909\u66f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002Action \u3067 Resource \u3092\u7528\u3044\u308b\u3001\u3082\u3057\u304f\u306f converge_by \u3092\u7528\u3044\u308b\u306e\u3067\u3042\u308c\u3070\u3001why-run \u30e2\u30fc\u30c9\u3067\u306f\u4f55\u306e\u52d5\u4f5c\u3082\u767a\u751f\u3057\u307e\u305b\u3093\u3002load_current_value \u3068 converge_if_changed (chef-docker Cookbook \u3092\u53c2\u7167) \u306f\u5076\u7136\u306b\u3082 why-run \u30e2\u30fc\u30c9\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u51aa\u7b49\u6027\u3092\u51e6\u7406\u3059\u308b\u306e\u306b\u3088\u308a\u7c21\u5358\u306a\u65b0\u305f\u306a\u9078\u629e\u80a2\u3067\u3059\u3002<\/p>\n<h3>test kitchen \u3068 chefspec \u306f\u4eca\u3082\u304d\u3061\u3093\u3068\u52d5\u4f5c\u3057\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u306f\u3044\u3002<\/p>\n<h3>chefspec \u306e\u72ec\u81ea Resource \u3067\u5229\u7528\u53ef\u80fd\u306a\u30b5\u30dd\u30fc\u30c8\u306b\u306f\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u901a\u5e38\u306e Resource \u3068\u540c\u69d8\u3067\u3059\u3002<\/p>\n<h3>Cookbook \u304c chef-client 12.5.x \u3092\u5fc5\u8981\u3068\u3059\u308b\u3053\u3068\u3092\u660e\u793a\u3059\u308b\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u4e0a\u4f4d\u4e92\u63db\u6027\u3092\u4fdd\u8a3c\u3057\u305f\u3044\u306e\u3067\u3042\u308c\u3070\u3001Cookbook \u306b\u300cdepends 'compat_resource'\u300d\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3046\u3059\u308c\u3070\u3059\u3079\u3066\u306e\u65b0\u3057\u3044 Resource \u6a5f\u80fd\u304c 12.0 \u4ee5\u964d\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<h3>\u3067\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4ee5\u524d\u306e\u5024\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u304b\uff1f current_resource.x \u306f\u307e\u3060\u4f7f\u7528\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>current_resource \u306f\u4eca\u3082\u5b58\u5728\u306f\u3057\u307e\u3059\u304c\u3001\u72ec\u81ea Resource \u3067 \"x\" \u3068\u6253\u3064\u3068 current_resource.x \u304c\u521d\u671f\u5024\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u6307\u6458\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Resource\/Provider \u3067\u306f\u306a\u304f Library \u306b\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u3092\u5165\u308c\u3066\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f<\/h3>\n<p>Library \u3067 Resource \u3092\u5ba3\u8a00\u3057\u305f\u3044\u306e\u3067\u3042\u308c\u3070\u3001 MyResource &lt; Chef::Resource \u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u3053\u306e\u65b0\u3057\u3044 Resource \u3092\u3069\u306e\u3088\u3046\u306b Rspec \u30c6\u30b9\u30c8\u3057\u307e\u3059\u304b\uff1f<\/h3>\n<p>chefspec\u3001serverspec\u3001test kitchen \u3067\u3059\u3002\u3059\u3079\u3066\u3042\u306a\u305f\u304c\u77e5\u3063\u3066\u3044\u3066\u611b\u7528\u3057\u3066\u3044\u308b\u30c4\u30fc\u30eb\u3067\u3057\u3087\u3046\uff1f<\/p>\n<h3>\u898b\u305b\u3066\u3044\u305f\u4f8b (myapp_website) \u306f\u3069\u306e\u3088\u3046\u306b\u30b5\u30d6\u30af\u30e9\u30b9\u5316\u3057\u307e\u3059\u304b\uff1f<\/h3>\n<p>resource\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u5ba3\u8a00\u3057\u3066\u3044\u308b Resource \u3092\u30b5\u30d6\u30af\u30e9\u30b9\u5316\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u30b5\u30d6\u30af\u30e9\u30b9\u5316\u3057\u305f\u3044\u306e\u3067\u3042\u308c\u3070\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u5ba3\u8a00\u3057\u3066 MyAppWebsite &lt; Chef::Resource \u3068\u3044\u3046\u30af\u30e9\u30b9\u5316\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>Chef 11.x \u30b5\u30fc\u30d0\u30fc\u306e Node \u306b chef-client 12.5 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u3082\u3061\u308d\u3093\u3067\u3059\uff01<\/p>\n<h3>\u72ec\u81ea Resource \u3068 LWRP \u306f\u5171\u5b58\u3067\u304d\u307e\u3059\u304b\uff1f 11 \u3068 12.5 \u306e\u4e21\u65b9\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u52d5\u4f5c\u3059\u308b Resource \u306f\u3042\u308a\u307e\u3059\u304b\uff1f \u306a\u3044\u3068\u3059\u308c\u3070\u300112.5 \u4ee5\u524d\u3068\u4ee5\u5f8c\u304c\u6df7\u5408\u3057\u305f\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067 chef-provisioning \u304c\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3057\u305f Node \u4e0a\u306b\u3001\u3069\u306e\u3088\u3046\u306b\u6b63\u3057\u3044 Resource Cookbook \u3092\u9069\u7528\u3057\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u72ec\u81ea Resource \u3068 LWRP \u306f\u5171\u5b58\u3067\u304d\u307e\u3059\u3002\u300cdepends 'compat_resource'\u300d\u3092 Cookbook Metadata \u306b\u8ffd\u52a0\u3059\u308b\u5834\u5408\u300112.0 \u304b\u3089 12.5 \u307e\u3067\u306e Resource \u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002chef-client \u30d0\u30fc\u30b8\u30e7\u30f3 11 \u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002<\/p>\n<h3>\u72ec\u81ea Resource \u3068\u72ec\u81ea Definition \u306e\u4e3b\u306a\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<p>Output \u3084 Action \u5185\u3067\u4f7f\u7528\u3059\u308b Resource \u306b\u8868\u793a\u3055\u308c\u308b\u72ec\u81ea Resource \u306f Output \u3067\u3082\u8868\u793a\u3055\u308c\u307e\u3059(\u610f\u56f3\u7684\u306b\u3069\u306e Resource \u304b\u3089\u6765\u3066\u3044\u308b\u304b\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u610f\u56f3\u3057\u3066\u3044\u307e\u3059\uff09\u3002\u3055\u3089\u306b\u3001\u305d\u306e\u4e2d\u306e\u30b3\u30fc\u30c9\u306f\u53ce\u675f\u6642\u9593\u307e\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002\u305d\u306e\u307b\u3046\u304c\u81ea\u7136\u306b\u7406\u89e3\u3067\u304d\u307e\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u72ec\u81ea Definition \u306f\u591a\u304f\u306e\u5834\u5408\u30de\u30af\u30ed\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u3001\u305d\u306e Recipe \u306f Definition \u3092\u4f7f\u7528\u3059\u308b\u3068\u3059\u3050\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u884c\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u305d\u308c\u306f\u5b9f\u969b\u306f Resource \u3067\u306f\u306a\u3044\u305f\u3081\u3001Definition \u306f chef-client \u306e Output \u306b\u306f\u73fe\u308c\u307e\u305b\u3093\u3002<\/p>\n<h3>Chef \u3067\u30b3\u30fc\u30c9\u95a2\u9023\u306e\u3053\u3068\u3092\u8a66\u3059\u969b\u306b Ruby \u8a00\u8a9e\u306e\u5236\u9650\u306f\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/h3>\n<p>\u305d\u308c\u307b\u3069\u3042\u308a\u307e\u305b\u3093\u3002\u3059\u3079\u3066\u30b3\u30fc\u30c9\u3067\u3042\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<h3>2\u3064\u4ee5\u4e0a\u306e Cookbook \u3067\u72ec\u81ea Resource \u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u304b\uff1f<\/h3>\n<p>\u306f\u3044\u3001Resource \u306f\u5e38\u306b\u3059\u3079\u3066\u306e Cookbook \u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>\u3042\u308b Action \u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8981\u6c42\u3057\u3066\u4ed6\u306e\u3082\u306e\u306b\u306f\u8981\u6c42\u3057\u306a\u3044\u3068\u3044\u3046\u6a5f\u80fd\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u76f4\u63a5\u305d\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Action \u304c\u958b\u59cb\u3057\u305f\u969b\u306b\u3001\u8981\u6c42\u3057\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u306a\u3044\u5834\u5408\u306b\u4f8b\u5916\u3092\u8fd4\u305b\u3070\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>\u8a71\u304c\u305d\u308c\u307e\u3059\u304c\u3001\u3042\u306a\u305f\u306e bash\/zsh \u69cb\u6210\u306f\u3001\u30e9\u30a4\u30c8\u30b0\u30ec\u30fc\u3067\u5019\u88dc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u30bf\u30a4\u30d4\u30f3\u30b0\u3057\u7d9a\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002\u3044\u3044\u3067\u3059\u306d\u3002\u3069\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>Fish shell\u3067\u3059\u3002http:\/\/fishshell.com\/<\/p>\n<h3>\u901a\u5e38\u306e Resource \u306b\u3064\u3044\u3066 only_if \u3068 not_if \u6761\u4ef6\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u306f\u3044\u3002<\/p>\n<h3>\u3053\u306e\u6a5f\u80fd\u9032\u5316\u7248\u306e\u6a5f\u80fd\u306b\u306f\u8907\u6570\u306e\u30d0\u30b0\u3068\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001load_current_value \u306f Action \u5185\u304b\u3089\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002Action \u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u3088\u308b\u3068\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/h3>\n<p>load_current_value \u306f Action \u5916\u304b\u3089\u547c\u3073\u51fa\u3055\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>Chef Client 12.5 \u306f\u672c\u65e5\u5229\u7528\u53ef\u80fd\u3067\u3059\u304b\uff1f  \u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u624b\u9806\u306f\u3069\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304b\uff1f  \u30ea\u30b9\u30af\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<p>12.5 \u306f\u5229\u7528\u53ef\u80fd\u3067\u3059\uff01  omnibus_updater Cookbook \u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u6700\u65b0\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u300212.4 \u304b\u3089\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u969b\u306e\u65e2\u77e5\u306e\u4e0a\u4f4d\u4e92\u63db\u6027\u306e\u554f\u984c\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30a6\u30a7\u30d6\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u8aad\u3093\u3060\u306e\u3067\u3059\u304c\u3001Definition \u306e\u4fa1\u5024\u304c\u4f4e\u304f\u306a\u308a\u3001\u4ee3\u308f\u308a\u306b\u72ec\u81ea Resource \u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u63a8\u5968\u3059\u308b\u305d\u3046\u3067\u3059\u3002Definition \u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u5b9f\u884c\u3057\u3001\u53ce\u675f\u4e2d\u306b LWRP\/HWRP \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002Definition \u306e\u3088\u3046\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u4f55\u304b\u3092\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u3001\u72ec\u81ea Resource \u306f\u3069\u306e\u3088\u3046\u306a\u72b6\u6cc1\u306b\u306a\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u72ec\u81ea Resource \u306f\u53ce\u675f\u6642\u9593\u306b\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002(\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u57cb\u3081\u308b) Resource \u3092\u300c\u4f7f\u7528\u300d\u3057\u3066\u3044\u308b do \u30d6\u30ed\u30c3\u30af\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h3>\u901a\u77e5\u30d5\u30ed\u30fc\u306f\u3069\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304b\uff1f  LWRP \u306b\u3064\u3044\u3066\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u304b\uff1f  \u4f8b\u3048\u3070\u3001LWRP use_inline_resources \u306b\u3064\u3044\u3066\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f<\/h3>\n<p>\u306f\u3044\u3001\u305d\u308c\u3089\u306f LWRP use_inline_resources \u3068\u540c\u69d8\u306b\u52d5\u4f5c\u3057\u307e\u3059(\u898b\u3048\u306a\u3044\u3068\u3053\u308d\u3067\u305d\u306e\u6027\u80fd\u3092\u5229\u7528\u3057\u307e\u3059)\u3002<\/p>\n<h3>Chef \u306b\u306f\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>property :x, default: lazy {\u00a0} \u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u5024\u3092\u8a08\u7b97\u3057\u307e\u3059(\u30e6\u30fc\u30b6\u30fc\u304c\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u76f4\u63a5\u8a2d\u5b9a\u3057\u306a\u3044\u9650\u308a)\u3002<br \/>\n\u00a0<\/p>\n<h3>\u30ab\u30b9\u30bf\u30e0\u30ed\u30b8\u30c3\u30af\u3092\u8ffd\u52a0\u305b\u305a\u306b\u65e2\u5b58\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u30e9\u30c3\u30d7\u3059\u308b\u78ba\u7acb\u3055\u308c\u305f\u65b9\u6cd5\u306f Definition \u3092\u4f7f\u3046\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u3001\u72ec\u81ea Resource \u3092\u5b9a\u7fa9\u3059\u308b\u5358\u7d14\u5316\u3057\u305f\u65b9\u6cd5\u306f Definition \u3092\u91cd\u8981\u8996\u3057\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u304b\uff1f<\/h3>\n<p>\u306f\u3044\u3002<\/p>\n<h3>LWRP \u306f\u66f8\u3044\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\u3002Chef 12.5 \u306e\u72ec\u81ea Resource \u3067 ruby_block \u3092\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u3069\u306e\u3088\u3046\u306b\u72ec\u81ea Resource \u30ec\u30d9\u30eb\u3067\u51aa\u7b49\u6027\u3092\u62c5\u4fdd\u3057\u307e\u3059\u304b(\u5404 Resource \u3067\u306f\u306a\u304f\u3001\u30ec\u30d9\u30eb\u3092\u5305\u542b\u3057\u3066\u3044\u308b\u3082\u306e)\uff1f \u30b3\u30fc\u30c9\uff0fAction \u5185\u304b\u3089\u306e\u3069\u3088\u3046\u306b\u73fe\u5728\u306e Resource \u3092\u53c2\u7167\u3057\u307e\u3059\u304b\uff1f  \u4f8b\u3048\u3070\u3001\u3069\u306e Action \u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u304b\uff1f  \u3042\u308b Action \u304c\u4ed6\u306e Action \u306e\u30b5\u30d6\u30bb\u30c3\u30c8\u3092\u5305\u542b\u3059\u308b\u3001\u7b49\u3002<\/h3>\n<p>load_current_value \u3068 converge_if_changed \u3067\u3067\u304d\u307e\u3059(\u4f8b\u306f chef-docker Cookbook \u3092\u898b\u3066\u304f\u3060\u3055\u3044)\u3002\u4ed6\u306e Action \u304b\u3089 Action \u3092\u547c\u3073\u51fa\u3059\u306b\u306f\u3001new_resource.run_action(:other_action) \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Cookbook \u9593\u3067 Resource \u3092\u5171\u6709\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>Cookbook \u3067\u305d\u308c\u3092\u5ba3\u8a00\u3057\u3001Resource \u3092\u4f7f\u7528\u3057\u305f\u3044 Cookbook \u3067\u300cdepends \"that_cookbook\"\u300d\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u00a0<\/p>\n<h3>Action \u306a\u3057\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\u304b\uff1f \u3064\u307e\u308a\u3001caller \u304c Action \u3092\u660e\u78ba\u306b\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u304b\uff1f<\/h3>\n<p>default_action :nothing \u3068\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c Action \u3092\u6307\u5b9a\u3057\u306a\u3044\u304b\u304e\u308a\u4f55\u3082\u767a\u751f\u3057\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5b8c\u5168\u306b\u62e1\u5f35\u53ef\u80fd\u3067\u3059\u3002Chef::Property \u304b\u3089\u5f15\u304d\u7d99\u3044\u3060\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30af\u30e9\u30b9\u3092 property :x, MyPropertyClass \u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u305d\u308c\u304c\u3092\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h3>Resource \u30d5\u30a1\u30a4\u30eb\u306f\u30ea\u30e2\u30fc\u30c8\u306b\u3067\u304d\u307e\u3059\u304b\uff1f \u4f8b\u3048\u3070\u3001http:\/\/ \u7b49<\/h3>\n<p>remote_file Resource \u304c\u5fc5\u8981\u3067\u3059\u3002https:\/\/docs.chef.io\/resource_remote_file.html<\/p>\n<h3>Resource \u3067\u3069\u306e\u3088\u3046\u306b\u72ec\u81ea\u306e ruby \u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304b\uff1f  \u305d\u306e\u5834\u5408\u3001\u3069\u306e\u3088\u3046\u306b\u51aa\u7b49\u6027\u3092\u7ba1\u7406\u3057\u307e\u3059\u304b\uff1f  \u901a\u77e5\u306f\u540c\u69d8\u306b\u52d5\u4f5c\u3057\u307e\u3059\u304b\uff1f  \u901a\u77e5\u3092 Resource \u5185\u3067\u52d5\u4f5c\u3055\u305b\u3001Resource \u5916\u3067\u52d5\u4f5c\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>\u72ec\u81ea ruby \u30b3\u30fc\u30c9\u3067\u51aa\u7b49\u6027\u3092\u62c5\u4fdd\u3059\u308b\u306b\u306f load_current_value \u3092\u5b9f\u884c\u3057 converge_if_changed \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002chef-docker Cookbook \u306b\u305d\u306e\u4f8b\u304c\u8f09\u3063\u3066\u3044\u307e\u3059\u3002\u901a\u77e5\u306f\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u305b\u3093(Resource \u5916\u306e\u3082\u306e\u306b\u3064\u3044\u3066\u306e\u901a\u77e5\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001Resource \u81ea\u4f53\u306f Recipe \u5185\u306e\u4ed6\u306e Resource \u306e\u8cfc\u8aad\u3084\u901a\u77e5\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059)\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef \u793e\u306e Principal Engineer \u3067\u3042\u308b John K [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-13197","post","type-post","status-publish","format-standard","hentry","category-chef"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef |\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/13197\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef |\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/13197\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-11T03:00:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"470\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef\",\"datePublished\":\"2016-03-11T03:00:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197\"},\"wordCount\":300,\"articleSection\":[\"Chef\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197\",\"name\":\"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"datePublished\":\"2016-03-11T03:00:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef |\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\\\/11\\\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/13197#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chef\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"\u306f\u3084\u308a\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef |\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/13197","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef |\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef","og_url":"https:\/\/www.creationline.com\/tech-blog\/13197","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2016-03-11T03:00:46+00:00","og_image":[{"width":470,"height":394,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/13197#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/13197"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef","datePublished":"2016-03-11T03:00:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/13197"},"wordCount":300,"articleSection":["Chef"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/13197","url":"https:\/\/www.creationline.com\/tech-blog\/13197","name":"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"datePublished":"2016-03-11T03:00:46+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef |\u672c\u7a3f\u306f Custom Resources in Chef Client 12.5 (2015\/11\/06) \u306e\u548c\u8a33\u3067\u3059\u3002 2015\u5e7410\u670828\u65e5\u3001Chef","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/13197#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/13197"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/13197#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Chef","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef"},{"@type":"ListItem","position":4,"name":"[\u548c\u8a33] Chef Client 12.5 \u306e\u72ec\u81ea Resource #getchef"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","caption":"Daisuke Higuchi"},"description":"\u306f\u3084\u308a\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/13197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=13197"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/13197\/revisions"}],"predecessor-version":[{"id":13198,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/13197\/revisions\/13198"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=13197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=13197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=13197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}