{"id":3080,"date":"2013-06-25T11:30:25","date_gmt":"2013-06-25T02:30:25","guid":{"rendered":"http:\/\/www.creationline.com\/?p=3080"},"modified":"2015-06-10T00:38:05","modified_gmt":"2015-06-09T15:38:05","slug":"%e5%92%8c%e8%a8%b3-%e5%88%9d%e5%bf%83%e8%80%85chef%e3%82%a2%e3%83%b3%e3%83%81%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3-by-julian-dunn-opschef_ja","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/3080","title":{"rendered":"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja"},"content":{"rendered":"<p>\n\u672c\u9805\u306f<a href=\"http:\/\/www.slideshare.net\/JulianDunn\/beginner-chef-antipatterns\" rel=\"dct:source\">ChefConf 2013: Beginner Chef Antipatterns<\/a>\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002\n<\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\n\u3088\u304f\n<\/p>\n<ul>\n<li>Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909<\/li>\n<li>Chef\u306e\u5b66\u7fd2\u66f2\u7dda\u306f\u6025\u52fe\u914d<\/li>\n<\/ul>\n<p>\n\u3068\u8a00\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u3001Opscode\u3067\u306f\u7de9\u548c\u3059\u308b\u305f\u3081\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8272\u3005\u6e96\u5099\u3057\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<ul>\n<li><a href=\"https:\/\/learnchef.opscode.com\/\">learnchef.com<\/a><\/li>\n<li><a href=\"http:\/\/docs.opscode.com\/\">docs.opscode.com<\/a><\/li>\n<li><a href=\"http:\/\/www.opscode.com\/training\/\">\u30d1\u30d6\u30ea\u30c3\u30af\/\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30c8\u30ec\u30fc\u30cb\u30f3\u30b0<\/a><\/li>\n<li>Podcasts (<a href=\"http:\/\/foodfightshow.org\/\">Food Fight Show<\/a> \u306a\u3069)<\/li>\n<li>\u5404\u5730\u306e\u30e6\u30fc\u30b6\u30b0\u30eb\u30fc\u30d7 (\u8a33\u6ce8: \u65e5\u672c\u306a\u3089 <a href=\"https:\/\/twitter.com\/search\/realtime?q=%23opschef_ja&src=savs\">#opschef_ja<\/a> )<\/li>\n<li><a href=\"http:\/\/chefconf.opscode.com\/\">ChefConf!<\/a> <small>(\u8a33\u6ce8: \u3053\u308c\u306f ChefConf 2013 \u3067\u884c\u308f\u308c\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u306a\u306e\u3067)<\/small><\/li>\n<\/ul>\n<p>\n\u305d\u308c\u3067\u3082\u3001\u6b63\u3057\u3044\u3053\u3068\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u304b\u77e5\u308b\u306e\u306f\u96e3\u3057\u304f\u3001\u4f55\u304b\u9593\u9055\u3063\u305f\u3053\u3068\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u304b\u77e5\u308b\u306e\u306f\u3055\u3089\u306b\u96e3\u3057\u3044\u3082\u306e\u3067\u3059\u3002\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u4e2d\u3067\u300c\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u300d\u306f\u5e38\u306b\u9032\u5316\u3057\u3066\u304d\u307e\u3057\u305f\u3002\n<\/p>\n<blockquote><p>\n\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u77e5\u308a\u305f\u304b\u3063\u305f\u306e\u306b...\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u306f\u3088\u304f\u3042\u308b\u843d\u3068\u3057\u7a74\u3092\u8aac\u660e\u3059\u308b\u306e\u306b\u3001\u8131\u7dda\u305b\u305a\u306b\u306f\u3044\u3089\u308c\u306a\u304b\u3063\u305f\u3002\n<\/p><\/blockquote>\n<p>\n- Chef\u57fa\u790e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3088\u308a\n<\/p>\n<p>\n\u672c\u9805\u3067\u306f\u3001\u512a\u308c\u305f\u677f\u524d(Chef)\u306b\u65e9\u304f\u306a\u308b\u305f\u3081\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\n<\/p>\n<h2>\u3042\u3089\u304b\u3058\u3081\u8a08\u753b\u3092\u7acb\u3066\u308b<\/h2>\n<p>\n\u307e\u305a\u306f\u3058\u3081\u306b\u3001\u300c\u3088\u304f\u7df4\u3089\u308c\u305f\u8a08\u753b\u306b\u52dd\u308b\u3082\u306e\u306f\u306a\u3044\u300d\u3068\u3044\u3046\u3053\u3068\u3092\u6319\u3052\u307e\u3059\u3002\n<\/p>\n<ul>\n<li>\u5fc5\u8981\u306aCookbook\u306f\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304b\uff1f<\/li>\n<li>\u3069\u306e\u3088\u3046\u306aRecipe\u304b\uff1f<\/li>\n<li>Role\u3068\u305d\u308c\u3089\u306e\u540d\u524d\u306f\uff1f<\/li>\n<li>Environment\u306f\u3044\u304f\u3064\u304b\uff1f<\/li>\n<li>\u305d\u308c\u3089\u306eEnvironment\u306b\u6240\u5c5e\u3059\u308b\u30af\u30e9\u30b9\u30bf\u306f\uff1f<\/li>\n<li>Data Bag\u306e\u968e\u5c64\u3068\u540d\u524d\u3001Data Bag Item\u306e\u69cb\u9020<\/li>\n<\/ul>\n<p>\n\u305d\u3057\u3066\u300110\u306e\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\n<\/p>\n<h2>10. \u3059\u3079\u3066\u306eChef\u30c7\u30fc\u30bf\u30921\u3064\u306e\u5de8\u5927\u306aGit\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u5165\u308c\u3066\u3057\u307e\u3046<\/h2>\n<p><code><br \/>\ngit:\/\/github.com\/yourcompany\/chef-repo.git<br \/>\n<\/code><\/p>\n<p>\n\u306a\u305c\u3053\u308c\u304c\u60aa\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\n<\/p>\n<ul>\n<li>environments\u3084roles\u3068\u3044\u3063\u305f\u4e00\u6642\u7684\u306a\u30c7\u30fc\u30bf\u304ccookbooks\u306e\u3088\u3046\u306a\u30f4\u30a1\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3068\u6df7\u3056\u3063\u3066\u3057\u307e\u3046<\/li>\n<li>Git\u306e\u54f2\u5b66: \u500b\u3005\u306b\u30f4\u30a1\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306f\u500b\u3005\u306eGit\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u3059\u308b<\/li>\n<li>\u591a\u304f\u306eGit\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u6301\u3064\u3053\u3068\u3092\u6050\u308c\u306a\u3044\uff01<\/li>\n<\/ul>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046:\n<\/p>\n<p><code><br \/>\ngit:\/\/github.com\/yourcompany-cookbooks\/foo.git<br \/>\n<\/code><\/p>\n<p>\n\u3088\u308a\u5408\u7406\u7684\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046:\n<\/p>\n<p><code><br \/>\ngit remote add upstream git:\/\/github.com\/whatevs\/upstream.git<br \/>\ngit fetch upstream<br \/>\ngit merge upstream\/master<br \/>\n<\/code><\/p>\n<p>\n\u3061\u3087\u3063\u3068ACL\u3092\u3044\u3058\u308b\u3060\u3051\u3067\u3001\u7c21\u5358\u306b\u6539\u826f\u3057\u305fCookbook\u3092\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306b\u3082\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<h2>9. \u4f1a\u793e\u540d\u3064\u304d\u306e\u5de8\u5927\u306aCookbook\u3092\u4f5c\u3063\u3066\u3057\u307e\u3046<\/h2>\n<p><code><br \/>\ngit:\/\/github.com\/yourcompany-cookbooks\/yourco.git<br \/>\n<\/code><\/p>\n<p>\n\u306a\u305c\u3053\u308c\u304c\u60aa\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\n<\/p>\n<ul>\n<li>Cookbook\u306f\u4e0a\u4f4d\u30ec\u30d9\u30eb\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u3082\u306e<\/li>\n<li>\u5de8\u5927\u306aCookbook\u306f\u4e00\u7dd2\u306b\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u30fb\u7d44\u307f\u5408\u308f\u305b\u3066\u306f\u3044\u3051\u306a\u3044\u3082\u306e\u3092\u6df7\u305c\u3066\u3057\u307e\u3046<\/li>\n<li>Recipe\u306b\u5bfe\u3059\u308b\u5909\u66f4\u306e\u5f71\u97ff\u7bc4\u56f2\u304c\u975e\u5e38\u306b\u5927\u304d\u304f\u306a\u308a\u3001\u969c\u5bb3\u306e\u539f\u56e0\u3068\u306a\u308b<\/li>\n<\/ul>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3088\u308a:\n<\/p>\n<pre>\r\n+ cookbooks\r\n  + yourcompany\r\n    + recipes\r\n      |\r\n      +- mainsite-apache-virtualhost.rb\r\n      +- anothersite-apache-virtualhost.rb\r\n      +- spring-properties.rb\r\n<\/pre>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046:\n<\/p>\n<pre>\r\n+ cookbooks\r\n  + mainsite\r\n  | + recipes\r\n  |   +- apache-virtualhost.rb\r\n  |\r\n  + anothersite\r\n  | + recipes\r\n  |   +- apache-virtualhost.rb\r\n  |\r\n  + springproperties\r\n    + recipes\r\n      +- properties.rb\r\n<\/pre>\n<h2>8. \"Environments\"\u3092\u5358\u306a\u308b\u8ad6\u7406\u7684\u306a\u300c\u74b0\u5883\u300d\u4ee5\u4e0a\u306e\u76ee\u7684\u3067\u4f7f\u3063\u3066\u3057\u307e\u3046<\/h2>\n<ul>\n<li>Environments\u306f\u5b9f\u969b\u306e\u300c\u74b0\u5883\u300d\u306b\u5bfe\u5fdc\u3065\u3051\u308b\u305f\u3081\u306e\u8ad6\u7406\u7684\u306a\u6982\u5ff5<\/li>\n<li>\u3060\u3051\u3069\u3001Environments\u3092\u300c\u30af\u30e9\u30b9\u30bf\u540d\u300d\u3084\u300c\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u540d\u300d\u3068\u3057\u3066\u4f7f\u3044\u305f\u304f\u306a\u308b\u306e\u306f\u904e\u5270\u306a\u306e\u3067\u907f\u3051\u308b\uff01<\/li>\n<\/ul>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\nmongos = search(:node, \"role:mongodb AND chef_environment:#{node.chef_environment}\")<br \/>\n<\/code><\/p>\n<p>\n\u3082\u3057\u300cproduction\u300dEnvironment\u306b2\u3064\u4ee5\u4e0a\u306eMongoDB\u30af\u30e9\u30b9\u30bf\u304c\u3042\u3063\u305f\u3089\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\nnode.set['mongodb']['cluster_name'] ='mongocluster1'<\/p>\n<p>mongos = search(:node, \"role:mongodb AND chef_environment:#{node.chef_environment} AND mongodb.cluster_name=#{node['mongodb']['cluster_name']}\")<br \/>\n<\/code><\/p>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3055\u3089\u306b\u3088\u3044\u3067\u3057\u3087\u3046:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\nnode.set['globals']['data_center'] = 'portlandia'<br \/>\nnode.set['mongodb']['cluster_name'] ='mongocluster1'<\/p>\n<p>mongos = search(:node, \"role:mongodb AND chef_environment:#{node.chef_environment} AND mongodb.cluster_name=#{node['mongodb']['cluster_name']} AND globals.data_center=#{node['globals']['data_center']}\")<br \/>\n<\/code><\/p>\n<h2>7. Community Cookbook\u3092\u30d5\u30a9\u30fc\u30af\u3057\u3066\u3057\u307e\u3046<\/h2>\n<ul>\n<li>Opscode\u306f130\u4ee5\u4e0a\u306eCookbook\u3092\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059<\/li>\n<li>Opscode\u4ee5\u5916\u3067\u3082Redis\u3084MongoDB\u3068\u3044\u3063\u305f\u3088\u304f\u7ba1\u7406\u3055\u308c\u305f\u3059\u3070\u3089\u3057\u3044\u3082\u306e\u304c\u3042\u308a\u307e\u3059<\/li>\n<li>\u3053\u306e\u3088\u3046\u306aCookbook\u3092\u30d5\u30a9\u30fc\u30af\u3059\u308b\u8a98\u60d1\u306b\u62b5\u6297\u3059\u308b\u3053\u3068\uff01<\/li>\n<li>\u30d5\u30a9\u30fc\u30af\u3057\u305f\u3089\u3001\u958b\u767a\u5143\u306e\u30d0\u30b0\u4fee\u6b63\u3084\u6a5f\u80fd\u8ffd\u52a0\u3068\u3044\u3063\u305f\u6069\u6075\u3092\u53d7\u3051\u53d6\u308c\u306a\u304f\u306a\u308a\u307e\u3059<\/li>\n<\/ul>\n<ul>\n<li>\u30d5\u30a9\u30fc\u30af\u3059\u308b\u3088\u308a\u3001\u72ec\u81ea\u306e\u5909\u66f4\u70b9\u3092\u304b\u3076\u305b\u308b\u3088\u3046\u306b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\/\u30e9\u30a4\u30d6\u30e9\u30eaCookbook\u3092\u5229\u7528\u3057\u307e\u3057\u3087\u3046<\/li>\n<li>\u4f8b\u3068\u3057\u3066\u3001SecondMarket\u306e\u300c\u30e9\u30c3\u30d1\u30fc\u300dPostgreSQL Cookbook\u304c\u3042\u308a\u307e\u3059\u3002\u53c2\u8003: <a href=\"https:\/\/github.com\/secondmarket-cookbooks\/smpostgresql\/blob\/master\/recipes\/server.rb\">smpostgresql\/recipes\/server.rb<\/a>\n<\/ul>\n<h2>6. Role\u5185\u3067run_list\u3092\u7ba1\u7406\u3057\u3066\u3057\u307e\u3046<\/h2>\n<ul>\n<li>\u3053\u308c\u306b\u306f\u8b70\u8ad6\u306e\u4f59\u5730\u304c\u3042\u308a\u307e\u3059\uff01<\/li>\n<li>Opscode\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3067\u306f\u3001run_list\u3092Role\u306b\u5165\u308c\u308b\u3088\u3046\u306b\u8a00\u3063\u3066\u3044\u307e\u3059<\/li>\n<li>\u3057\u304b\u3057\u2026\u2026Role\u306f\u30f4\u30a1\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3067\u304d\u306a\u3044\u3001\u4e00\u6642\u30c7\u30fc\u30bf\u3067\u3059<\/li>\n<li>Role\u5185\u306b\u3042\u308brun_list\u3092\u8907\u6570\u306e\u74b0\u5883\u306b\u307e\u305f\u304c\u3063\u3066\u5909\u66f4\u3059\u308b\u306b\u306f\u3001\u5c11\u3057\u5371\u967a\u306a\u4f5c\u696d\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059<\/li>\n<\/ul>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u4ee3\u308f\u308a\u306b:\n<\/p>\n<p><code lang=\"javascript\"><br \/>\n\"run_list\": [<br \/>\n    \"recipe[selinux::permissive]\",<br \/>\n    \"recipe[rsyslog]\",<br \/>\n    \"recipe[chef-client::config]\",<br \/>\n    \"recipe[chef-client::service]\",<br \/>\n    \"recipe[chef-client::delete_validation]\",<br \/>\n    \"recipe[openssh::iptables]\"<br \/>\n]<br \/>\n<\/code><\/p>\n<p>\n\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046:\n<\/p>\n<p><code lang=\"javascript\"><br \/>\n% knife cookbook create roles<br \/>\n% vi roles\/base.rb<\/p>\n<p>\"run_list\": [ \"recipe[roles::base]\" ]<br \/>\n<\/code><\/p>\n<p>\nroles\/recipes\/base.rb:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\ninclude_recipe \"selinux::permissive\"<br \/>\ninclude_recipe \"rsyslog\"<br \/>\ninclude_recipe \"chef-client::config\"<br \/>\ninclude_recipe \"chef-client::service\"<br \/>\ninclude_recipe \"chef-client::delete_validation\"<br \/>\ninclude_recipe \"openssh::iptables\"<br \/>\n<\/code><\/p>\n<ul>\n<li>\u5fc5\u8981\u306a\u3089\u3001\u6761\u4ef6\u5206\u5c90\u3082\u542b\u3081\u307e\u3057\u3087\u3046<\/li>\n<li>\u307e\u305f\u306f\u3001Role Attributes\u3092Recipe\u306b\u542b\u3081\u307e\u3057\u3087\u3046<\/li>\n<\/ul>\n<h2>5. \u7121\u79e9\u5e8f\u306adata bag\u3092\u4f5c\u3063\u3066\u3057\u307e\u3046<\/h2>\n<ul>\n<li>Data Bag \u3068 Data Bag Item \u3068\u3044\u30462\u968e\u5c64\u3057\u304b\u306a\u3044\u306e\u3067\u3001\u3088\u304f\u8a08\u753b\u3059\u308b\u3053\u3068\uff01<\/li>\n<li>Data Bag Item \u3092\u5de8\u5927\u306a JSON \u30cf\u30c3\u30b7\u30e5\u306b\u3057\u306a\u3044\u3053\u3068\n<ul>\n<li>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u305f\u3081\u306b\u306f\u5c0f\u3055\u304f\u306a\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046<\/li>\n<\/ul>\n<\/li>\n<li>8 KB JSON x 4 Chef runs\/h x 1000 nodes = 5.38GB\/week!<\/li>\n<\/ul>\n<h2>4. chef-shell\u3092\u77e5\u3089\u306a\u3044\u3001\u4f7f\u308f\u306a\u3044<\/h2>\n<ul>\n<li>Chef-Shell (\u65e7 Shef)\u306f\u5168\u7136\u6d3b\u7528\u3055\u308c\u3066\u306a\u3044\u30c4\u30fc\u30eb\u306e\u3072\u3068\u3064\uff01<\/li>\n<li>irb (\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6Ruby)\u306bChef\u306e\u6839\u6e90\u7684\u306a\u8981\u7d20\u3092\u8db3\u3057\u305f\u3088\u3046\u306a\u3082\u306e<\/li>\n<li>Cookbook\u958b\u767a\u306b\u9069\u3057\u3066\u3044\u307e\u3059<\/li>\n<li>\u88fd\u54c1\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u3082\u4f7f\u3048\u307e\u3059<\/li>\n<\/ul>\n<p>\n\u6b21\u306e\u3088\u3046\u306a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u3042\u308b\u3068\u3057\u307e\u3059:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\n29: <% @members.each do |member| -%><br \/>\n30: <%= member['hostname'] %> IN CNAME <%= member['ec2']['public_hostname'] %>.<br \/>\n31: <% end -%><br \/>\n<\/code><\/p>\n<p>\nChef-Shell \u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3059:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\n[jdunn@dns1 ~]$ chef-shell -z<br \/>\nloading configuration: \/etc\/chef\/client.rb<br \/>\nSession type: client<br \/>\n.<br \/>\n.<br \/>\nchef > echo off<br \/>\nchef > members = search(node, \"domain:epicfail.com\")<br \/>\nchef > members.each do |m|<br \/>\nchef > pp \"#{m['hostname']}, #{m['ec2']['public_hostname']}\"<br \/>\nchef ?> end<br \/>\n\"host1, ec2-50-17-43-13.compute-1.amazonaws.com\"<br \/>\n\"host37, ec2-23-23-145-243.compute-1.amazonaws.com\"<br \/>\n\"host3, \"<\/p>\n<p>NoMethodError: undefined method `[] for nil:NilClass<br \/>\n<\/code><\/p>\n<p>\n\u3053\u306e\u3088\u3046\u306b\u3001\u5546\u7528\u74b0\u5883\u306b\u9069\u7528\u3059\u308b\u524d\u306b\u554f\u984c\u3042\u308b\u3053\u3068\u304c\u767a\u898b\u3067\u304d\u307e\u3057\u305f\u3002\n<\/p>\n<ul>\n<li>\u3053\u306e\u4ed6\u306b\u3082\u3044\u308d\u3044\u308d\u4f7f\u3044\u9053\u306f\u3042\u308a\u307e\u3059<\/li>\n<li>\u53c2\u8003: <a href=\"http:\/\/www.slideshare.net\/JulianDunn\/an-introduction-to-shef-the-chef-shell\">An Introduction to Shef, the Chef Shell<\/a><\/li>\n<li>Chef-Shell \u306f\u6642\u9593\u306e\u7bc0\u7d04\u306b\u306a\u308b\u3068\u4fdd\u8a3c\u3057\u307e\u3059\uff01<\/li>\n<\/ul>\n<h2>3. LWRP\u3092\u6016\u304c\u3063\u3066\u3057\u307e\u3046<\/h2>\n<p>\n\u795e\u8a71: LWRP\u3092\u66f8\u304f\u306e\u306f\u5927\u5909\uff01 Ruby\u3092\u899a\u3048\u306a\u304d\u3083\u3044\u3051\u306a\u3044\u3057\uff01\n<\/p>\n<ul>\n<li>\u30a4\u30f3\u30e9\u30a4\u30f3Resources\u3092\u4f7f\u3048\u3070\u3044\u3044<\/li>\n<li>Array, Hash, String \u306a\u3069\u3001\u57fa\u672c\u7684\u306aRuby\u306e\u30af\u30e9\u30b9\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u77e5\u3063\u3066\u3044\u308c\u3070\u5341\u5206<\/li>\n<li>LWRP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u2026\u2026\u8efd\u91cf\u3067\u3001\u306a\u304a\u304b\u3064\u305f\u304f\u3055\u3093\u306e\u3053\u3068\u3092\u3057\u3066\u304f\u308c\u308b<\/li>\n<\/ul>\n<p>\n\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306aResource\u306f:\n<\/p>\n<p>\ncookbooks\/mouse\/recipes\/default.rb:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\nmouse \"Itchy\" do<br \/>\n  says \"Ow, Scratchy cut off my tail\"<br \/>\n  tail false<br \/>\n  action :say<br \/>\nend<br \/>\n<\/code><\/p>\n<p>\n\u6b21\u306e\u3088\u3046\u306aResource\u5b9a\u7fa9\u3068:\n<\/p>\n<p>\ncookbooks\/mouse\/resources\/default.rb:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\nactions :say<\/p>\n<p>attribute :given_name, :name_attribute => true<br \/>\nattribute :phrase, :default => \"squeak\"<br \/>\nattribute :tail, :default => true, :kind_of => [TrueClass, FalseClass]<br \/>\n<\/code><\/p>\n<p>\n\u6b21\u306e\u3088\u3046\u306aProvider\u5b9f\u88c5\u3067\u3067\u304d\u307e\u3059:\n<\/p>\n<p>\ncookbooks\/mouse\/providers\/default.rb:\n<\/p>\n<p><code lang=\"ruby\"><br \/>\naction :say do<br \/>\n  log \"My name is #{new_resource.given_name}\"<br \/>\n  log new_resource.phrase unless new_resource.phrase =~ \/^squeak$\/<br \/>\n  log \"I #{new_resource.tail ? 'do' : 'do not' } have a tail<br \/>\nend<br \/>\n<\/code><\/p>\n<p>\n\u7c21\u5358\u3067\u3057\u3087\u3046\uff1f\n<\/p>\n<h2>NIH(Not Invented Here)\u75c7\u5019\u7fa4 (\u5916\u90e8\u767a\u7965\u3060\u304b\u3089\u5229\u7528\u3057\u306a\u3044\u75c7\u5019\u7fa4) \u306b\u9665\u3063\u3066\u3057\u307e\u3046<\/h2>\n<ul>\n<li>\u4ed6\u8005\u306e\u30b3\u30fc\u30c9\/\u30e9\u30a4\u30d6\u30e9\u30ea\/Cookbook\u3092\u4f7f\u3046\u3053\u3068\u306b\u5bfe\u3059\u308b(\u60aa\u3044)\u5148\u5165\u89b3<\/li>\n<li>\u81ea\u5206\u81ea\u8eab\u304c\u3042\u3064\u3089\u3048\u305fCookbook\u3092\u66f8\u304d\u305f\u304f\u306a\u308b\u8a98\u60d1<\/li>\n<li>\u305d\u306e\u4ee3\u308f\u308a\u306b\u3001\u307e\u305a\u8abf\u3079\u307e\u3057\u3087\u3046\u3002\u9069\u3057\u305f\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u3087\u3046\u3002\u305d\u3057\u3066\u3001\u305d\u308c\u3092\u30e9\u30a4\u30d6\u30e9\u30ea\/\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3Cookbook\u306e\u4e2d\u3067\u4f7f\u3044\u307e\u3057\u3087\u3046<\/li>\n<li>\u6539\u5584\u3084\u5909\u66f4\u3092\u5bc4\u8d08\u3057\u307e\u3057\u3087\u3046<\/li>\n<\/ul>\n<h2>1. \u5b64\u72ec\u306aChef\u4f7f\u3044\u306b\u306a\u3063\u3066\u3057\u307e\u3046<\/h2>\n<p>\n\u6700\u5927\u306eChef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3\u306f<strong>\u5e97\u3067\u305f\u3063\u305f\u4e00\u4eba\u306e\u677f\u524d(Chef)\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068<\/strong>\u3067\u3059\u3002\n<\/p>\n<ul>\n<li>\u552f\u4e00\u306e\u677f\u524d(Chef)\u304c\u30d0\u30b9\u3084\u30c8\u30e9\u30c3\u30af\u306b\u8f62\u304b\u308c\u305f\u3089\u3069\u3046\u3059\u308b\uff1f<\/li>\n<li>\u677f\u524d(Chef)\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\n<ul>\n<li>\u958b\u767a\u8005\u306f\u677f\u524d(Chef)\u3088\u308a\u3082\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u3044\u307e\u3059<\/li>\n<li>\u958b\u767a\u8005\u306bCookbook\u3092\u66f8\u304b\u305b\u305f\u308a\u7ba1\u7406\u3055\u305b\u307e\u3057\u3087\u3046<\/li>\n<\/ul>\n<\/li>\n<li>\u305d\u3046\u3059\u308c\u3070\u3001\u307f\u3093\u306a\u304c\u88fd\u54c1\u306b\u5bfe\u3057\u3066\u8cac\u4efb\u3092\u6301\u3064\u3053\u3068\u306b\u306a\u308a\u307e\u3059<\/li>\n<\/ul>\n<h2>\u304a\u3055\u3089\u3044: 10\u306e\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3<\/h2>\n<ul>\n<li>\u3059\u3079\u3066\u306eChef\u30c7\u30fc\u30bf\u30921\u3064\u306e\u5de8\u5927\u306aGit\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u5165\u308c\u3066\u3057\u307e\u3046<\/li>\n<li>\u4f1a\u793e\u540d\u3064\u304d\u306e\u5de8\u5927\u306aCookbook\u3092\u4f5c\u3063\u3066\u3057\u307e\u3046<\/li>\n<li>\"Environments\"\u3092\u5358\u306a\u308b\u8ad6\u7406\u7684\u306a\u300c\u74b0\u5883\u300d\u4ee5\u4e0a\u306e\u76ee\u7684\u3067\u4f7f\u3063\u3066\u3057\u307e\u3046<\/li>\n<li>Community Cookbook\u3092\u30d5\u30a9\u30fc\u30af\u3057\u3066\u3057\u307e\u3046<\/li>\n<li>Role\u5185\u3067run_list\u3092\u7ba1\u7406\u3057\u3066\u3057\u307e\u3046<\/li>\n<li>\u7121\u79e9\u5e8f\u306adata bag\u3092\u4f5c\u3063\u3066\u3057\u307e\u3046<\/li>\n<li>chef-shell\u3092\u77e5\u3089\u306a\u3044\u3001\u4f7f\u308f\u306a\u3044<\/li>\n<li>LWRP\u3092\u6016\u304c\u3063\u3066\u3057\u307e\u3046<\/li>\n<li>NIH\u75c7\u5019\u7fa4 (\u5916\u90e8\u767a\u7965\u3060\u304b\u3089\u5229\u7528\u3057\u306a\u3044\u75c7\u5019\u7fa4)\u306b\u9665\u3063\u3066\u3057\u307e\u3046<\/li>\n<li>\u5b64\u72ec\u306aChef\u4f7f\u3044\u306b\u306a\u3063\u3066\u3057\u307e\u3046<\/li>\n<\/ul>\n<p><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/2.5\/deed.ja\"><img decoding=\"async\" alt=\"\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30e2\u30f3\u30ba\u30fb\u30e9\u30a4\u30bb\u30f3\u30b9\" style=\"border-width:0\" src=\"http:\/\/i.creativecommons.org\/l\/by-sa\/2.5\/88x31.png\" \/><\/a><br \/><span xmlns:dct=\"http:\/\/purl.org\/dc\/terms\/\" href=\"http:\/\/purl.org\/dc\/dcmitype\/Text\" property=\"dct:title\" rel=\"dct:type\">\u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3<\/span> by <a xmlns:cc=\"http:\/\/creativecommons.org\/ns#\" href=\"\/\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">CREATIONLINE,INC.<\/a> is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/2.5\/deed.ja\">Creative Commons \u8868\u793a - \u7d99\u627f 2.5 \u975e\u79fb\u690d License<\/a>.<br \/><a xmlns:dct=\"http:\/\/purl.org\/dc\/terms\/\" href=\"http:\/\/www.slideshare.net\/JulianDunn\/beginner-chef-antipatterns\" rel=\"dct:source\">ChefConf 2013: Beginner Chef Antipatterns<\/a> by <a href=\"http:\/\/www.slideshare.net\/JulianDunn\">Julian Dunn<\/a>\u306b\u57fa\u3065\u3044\u3066\u3044\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909 Chef\u306e\u5b66\u7fd2\u66f2\u7dda\u306f\u6025\u52fe\u914d \u3068\u8a00\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u3001Opscode\u3067\u306f\u7de9\u548c\u3059 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":9953,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-3080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef |\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909\" \/>\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\/3080\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef |\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/3080\" \/>\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=\"2013-06-25T02:30:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-09T15:38:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/chef_slide.png\" \/>\n\t<meta property=\"og:image:width\" content=\"988\" \/>\n\t<meta property=\"og:image:height\" content=\"338\" \/>\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=\"3\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\\\/3080#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja\",\"datePublished\":\"2013-06-25T02:30:25+00:00\",\"dateModified\":\"2015-06-09T15:38:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080\"},\"wordCount\":205,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/chef_slide.png\",\"articleSection\":[\"Chef\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080\",\"name\":\"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/chef_slide.png\",\"datePublished\":\"2013-06-25T02:30:25+00:00\",\"dateModified\":\"2015-06-09T15:38:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef |\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/chef_slide.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/chef_slide.png\",\"width\":988,\"height\":338},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/3080#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] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja\"}]},{\"@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\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\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] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef |\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909","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\/3080","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef |\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909","og_url":"https:\/\/www.creationline.com\/tech-blog\/3080","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":"2013-06-25T02:30:25+00:00","article_modified_time":"2015-06-09T15:38:05+00:00","og_image":[{"width":988,"height":338,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/chef_slide.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":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/3080#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/3080"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja","datePublished":"2013-06-25T02:30:25+00:00","dateModified":"2015-06-09T15:38:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/3080"},"wordCount":205,"commentCount":0,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/3080#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/chef_slide.png","articleSection":["Chef"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/3080#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/3080","url":"https:\/\/www.creationline.com\/tech-blog\/3080","name":"[\u548c\u8a33] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/3080#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/3080#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/chef_slide.png","datePublished":"2013-06-25T02:30:25+00:00","dateModified":"2015-06-09T15:38:05+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef |\u672c\u9805\u306fChefConf 2013: Beginner Chef Antipatterns\u3092\u548c\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u3088\u304f Chef\u306e\u5b66\u7fd2\u306f\u5927\u5909","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/3080#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/3080"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/3080#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/chef_slide.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/chef_slide.png","width":988,"height":338},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/3080#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] \u521d\u5fc3\u8005Chef\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3 by Julian Dunn #opschef_ja"}]},{"@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\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\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\/3080","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=3080"}],"version-history":[{"count":0,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/3080\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/9953"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=3080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=3080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=3080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}