{"id":6635,"date":"2014-12-22T16:00:51","date_gmt":"2014-12-22T07:00:51","guid":{"rendered":"http:\/\/www.creationline.com\/?p=6635"},"modified":"2026-05-26T16:13:10","modified_gmt":"2026-05-26T07:13:10","slug":"%e5%92%8c%e8%a8%b3-sysadvent-day-14-chef-provisioning%e3%82%92%e7%94%a8%e3%81%84%e3%81%a6chef-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b-opschef_ja-getchef_ja","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635","title":{"rendered":"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja"},"content":{"rendered":"<p>\u672c\u7a3f\u306f <a href=\"https:\/\/www.chef.io\/blog\/2014\/12\/15\/sysadvent-day-14-using-chef-provisioning-to-build-chef-server\/\">SysAdvent Day 14: Using Chef Provisioning to Build Chef Server<\/a> (2014\/12\/15) \u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<blockquote><p>Or, Yo Dawg, I heard you like Chef.<\/p><\/blockquote>\n<p>(\u8a33\u6ce8: \u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30df\u30fc\u30e0\u3002<a href=\"http:\/\/knowyourmeme.com\/memes\/xzibit-yo-dawg\">Xzibit Yo Dawg | Know Your Meme<\/a>\u3001<a href=\"http:\/\/memegenerator.net\/Yo-Dawg\">Yo Dawg | Meme Generator<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068)<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f<a href=\"http:\/\/sysadvent.blogspot.com\/2014\/12\/day-14-using-chef-provisioning-to-build.html\">SysAdvent\u304b\u3089\u306e\u8ee2\u8f09<\/a>(\u8a33\u6ce8:\u539f\u6587)\u3067\u3059\u3002<\/p>\n<p><strong>\u672c\u8a18\u4e8b\u3092Ezra Zygmuntowicz\u306b\u6367\u3052\u307e\u3059<\/strong>\u3002Erza\u304c\u3044\u306a\u3051\u308c\u3070\u3001\u521d\u671f\u306eChef Server\u306eMerb\u3001<strong>chef-solo<\/strong>\u306f\u306a\u304b\u3063\u305f\u3060\u308d\u3046\u3057\u3001\u305d\u3057\u3066Chef\u81ea\u4f53\u3082\u306a\u304b\u3063\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002Ruby\u3001Rails\u3001Chef\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u5bfe\u3059\u308b\u5f7c\u306e\u8ca2\u732e\u306f\u591a\u5927\u306a\u3082\u306e\u3067\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046Erza\u3001\u5b89\u3089\u304b\u306b\u3002<\/p>\n<p>(\u8a33\u6ce8: Ezra Zygmuntowicz\u6c0f\u306f\u7c73Engine Yard\u306e\u5275\u696d\u8005\u306e\u4e00\u4eba\u3067\u3001<a href=\"http:\/\/www.amazon.co.jp\/dp\/4873114004\">Rails\u30c7\u30d7\u30ed\u30a4<\/a>\u306e\u8457\u8005\u306e\u4e00\u4eba\u3068\u3057\u3066\u3082\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u75c5\u6c17\u306e\u305f\u3081\u5148\u6708\u672b\u306b\u4ea1\u304f\u306a\u3089\u308c\u3066\u3044\u307e\u3059)<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Chef Software,Inc.\u306e<a href=\"https:\/\/www.getchef.com\/blog\/2014\/11\/12\/chef-provisioning-infrastructure-as-code\/\">Chef Provisioning<\/a> (\u8a33\u6ce8: <a href=\"\/lab\/6410\">\u548c\u8a33<\/a>)\u3092\u7528\u3044\u3066\u3001Amazon EC2\u4e0a\u306b<a href=\"https:\/\/www.getchef.com\/blog\/2014\/11\/25\/chef-server-12-released\">Chef Server 12<\/a> (\u8a33\u6ce8: <a href=\"\/lab\/6490\">\u548c\u8a33<\/a>)\u3092\u7528\u3044\u305f\u65b0\u3057\u3044\u30db\u30b9\u30c6\u30c3\u30c9Chef\u30a4\u30f3\u30d5\u30e9\u3092\u69cb\u7bc9\u3059\u308b\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u8a73\u7d30\u306a\u624b\u5f15\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u5b9f\u4f8b\u3092\u901a\u3057\u3066Chef Provisioning\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f55\u304c\u5fc5\u8981\u304b\u3092\u691c\u8a0e\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u8981\u7d20\u3092\u660e\u3089\u304b\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002Chef Provisioning\u3068Chef Server 12\u3092\u304b\u3051\u8db3\u3067\u898b\u3066\u3044\u304f\u3082\u306e\u3060\u3068\u601d\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u80cc\u666f<\/h2>\n<p>\u3057\u3070\u3089\u304fChef\u3092\u4f7f\u3063\u3066\u304d\u3066\u3044\u308b\u306a\u3089\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9Chef Server\u3092\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u8981\u7d20\u3092<strong>chef-solo<\/strong>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308bCookbook\u3092\u7528\u3044\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9\u3067\u3042\u308b\u300c<a href=\"https:\/\/wiki.opscode.com\/display\/ChefCN\/Bootstrap+Chef+RubyGems+Installation\">Bootstrap Chef RubyGems Installation<\/a>\u300d\u3068\u3044\u3046wiki\u30da\u30fc\u30b8\u3092\u601d\u3044\u51fa\u3059\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u8003\u3048\u65b9\u306f\u3001Enterprise Chef (\u65e7\u540d Private Chef)\u306eomnibus\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3042\u308b\u3001Chef Server\u306e\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8a2d\u5b9a\u3057\u3066\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b<strong>chef-solo<\/strong>\u3092\u5b9f\u884c\u3059\u308b<strong>private-chef-ctl reconfigure<\/strong>\u306e\u539f\u70b9\u3067\u3057\u305f\u3002<\/p>\n<p>\u9a5a\u304b\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001Chef\u793e\u3067\u306f\u30db\u30b9\u30c6\u30c3\u30c9Chef\u3092Chef\u3092\u7528\u3044\u3066\u69cb\u7bc9\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3046\u3001\u7aef\u304b\u3089\u7aef\u307e\u3067\u4e80\u306e\u4e0a\u306e\u4e80\u3084yo-dawg\u306e\u30b8\u30e7\u30fc\u30af\u306e\u3088\u3046\u3067\u3059\u3002Chef\u793eCTO\u3067\u3042\u308bAdam\u304c\u5358\u4e00\u306eChef Server\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306b\u3064\u3044\u3066<a href=\"http:\/\/www.getchef.com\/blog\/2014\/09\/08\/there-is-one-chef-server-and-it-is-open-source\/\">\u8a18\u8ff0<\/a>\u3057\u305f\u901a\u308a\u3001\u79c1\u9054\u304c\u5185\u90e8\u3067\u7528\u3044\u3066\u3044\u308b\u30c7\u30d7\u30ed\u30a4\u65b9\u6cd5\u3084\u958b\u767a\u65b9\u6cd5\u3092\u79c1\u9054\u304c\u9867\u5ba2\u306b\u63d0\u4f9b\u3059\u308b\u3082\u306e\u3068\u540c\u3058\u306b\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u304a\u308a\u3001\u3088\u308a\u3088\u3044\u30b5\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u65b9\u6cd5\u3092\u7d71\u4e00\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Chef Server 12<\/h2>\n<p><a href=\"https:\/\/www.getchef.com\/blog\/2014\/11\/25\/chef-server-12-released\/\">\u5148\u65e5\u767a\u8868\u3057\u305f\u901a\u308a<\/a> (\u8a33\u6ce8: <a href=\"\/lab\/6490\">\u548c\u8a33<\/a>)\u3001Chef Server 12\u304c\u4e00\u822c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002\u672c\u8a18\u4e8b\u3067\u691c\u8a0e\u3057\u3066\u3044\u304f\u5b9f\u4f8b\u306e\u305f\u3081\u306b\u30013\u3064\u306e\u30de\u30b7\u30f3\u3092\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3057\u307e\u3059\u30021\u3064\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30011\u3064\u306fChef Manage\u3068Chef Reporting\u3092\u52d5\u4f5c\u3055\u305b\u308b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30011\u3064\u306fChef Analytics\u3092\u52d5\u4f5c\u3055\u305b\u307e\u3059\u3002Chef Server\u306f\u30a2\u30c9\u30aa\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306eResource\u3092\u6301\u3064\u7279\u5225\u306aCookbook\u3067\u3042\u308b\u300c<a href=\"https:\/\/github.com\/opscode-cookbooks\/chef-server-ingredient\">Chef Server Ingredients<\/a>\u300d\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u3001API\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9Node\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9Node\u306e\u4e21\u65b9\u3067\u7528\u3044\u308b<strong>chef-server-core<\/strong>\u3068\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Chef Provisioning<\/h2>\n<p><a href=\"https:\/\/www.chef.io\/blog\/2014\/11\/12\/chef-launches-policy-based-provisioning\/\">Chef Provisioning<\/a>\u306f\u3001Recipe\u4e2d\u306b\u300cmachines\u300d\u3068\u3044\u3046Chef Resource\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3001\u305d\u306eRecipe\u3092Node\u4e0a\u3067\u53ce\u675f\u3055\u305b\u308b\u3068\u3044\u3046\u3001Chef\u306e\u65b0\u6a5f\u80fd\u3067\u3059\u3002\u3064\u307e\u308a\u65b0\u3057\u3044\u30de\u30b7\u30f3\u3092\u3001\u3044\u304f\u3064\u304b\u4f8b\u3092\u6319\u3052\u308b\u306a\u3089\u3070AWS\u3001OpenStack\u3001Docker\u306a\u3069\u306e\u69d8\u3005\u306a\u30d7\u30ed\u30d0\u30a4\u30c0\u3092\u7528\u3044\u3066\u4f5c\u6210\u3057\u3001Chef Server\u4e0a\u306b\u6709\u52b9\u306a\u4ed6\u306eCookbook\u304b\u3089\u5f97\u305fRecipe\u3092\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>Chef Provisioning\u306f\u30d7\u30ed\u30d3\u30b8\u30e7\u30caNode\u4e0a\u3067\u300c\u5b9f\u884c\u300d\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u901a\u5e38\u30ed\u30fc\u30ab\u30eb\u306eWorkstation\u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u3084\u30af\u30e9\u30a6\u30c9\u30d7\u30ed\u30d0\u30a4\u30c0\u4e0a\u306e\u7279\u306b\u6307\u5b9a\u3055\u308c\u305fNode\u3067\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u5358\u7d14\u306b<strong>chef-client<\/strong>\u307e\u305f\u306f<strong>chef-solo<\/strong>\u3067Recipe\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<strong>chef-client<\/strong>\u3092\u4f7f\u3046\u306a\u3089\u3001\u30db\u30b9\u30c6\u30c3\u30c9\u7248Chef\u3092\u542b\u3080\u3042\u3089\u3086\u308bChef Server\u304c\u52d5\u4f5c\u3057\u307e\u3059\u3002\u3082\u3061\u308d\u3093\u3001\u3053\u3053\u3067\u306fChef Server\u306f\u307e\u3060\u7528\u610f\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u672c\u8a18\u4e8b\u3067\u306e\u4f8b\u3067\u306f\u3001OS X\u30e9\u30c3\u30d7\u30c8\u30c3\u30d7\u3092\u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u3001<a href=\"https:\/\/github.com\/opscode\/chef-zero\">Chef Zero<\/a>\u3092Chef Server\u3068\u3057\u3066\u7528\u3044\u307e\u3059\u3002<\/p>\n<h2>\u90e8\u54c1\u306e\u7d44\u307f\u7acb\u3066<\/h2>\n<p>Chef Provisioning\u3092\u7528\u3044\u308b\u4f5c\u696d\u3092\u884c\u3046Cookbook\u306f<a href=\"https:\/\/github.com\/opscode-cookbooks\/chef-server-cluster\">chef-server-cluster<\/a>\u3067\u3059\u3002\u3053\u306eCookbook\u306f\u7d76\u8cdb\u958b\u767a\u4e2d\u306a\u306e\u3067\u3001\u3053\u306e\u8a18\u4e8b\u4e2d\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u30b3\u30fc\u30c9\u3068\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u304c\u9055\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3088\u3063\u3066\u3001Chef Provisioning\u306e\u4f7f\u3044\u65b9\u3092\u898b\u308b\u305f\u3081\u306b\u9069\u5f53\u306a\u7b87\u6240\u3068\u3001\u52d5\u4f5c\u306b\u5fc5\u8981\u306a\u30ed\u30fc\u30ab\u30eb\u8a2d\u5b9a\u306e\u52a9\u3051\u3068\u306a\u308b\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3064\u3082\u308a\u3067\u3059\u3002\u3069\u306e\u3088\u3046\u306b\u4f7f\u3046\u304b\u306e\u6700\u65b0\u60c5\u5831\u306fCookbook\u306eREADME.md\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>Amazon Web Services EC2<\/h2>\n<p>\u307e\u305a\u306f\u3058\u3081\u306b\u5fc5\u8981\u306a\u3082\u306e\u306f\u3001EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u305f\u3081\u306eAWS\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u3059\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u305f\u3089\u3001EC2\u306e\u7ba1\u7406\u6a29\u9650\u3092\u6301\u3064IAM\u30e6\u30fc\u30b6\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u305f\u3081\u306eSSH\u30ad\u30fc\u30da\u30a2\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u3069\u3046\u3084\u3063\u3066\u884c\u3046\u304b\u306e\u8a73\u7d30\u306f\u672c\u8a18\u4e8b\u306e\u7bc4\u56f2\u3092\u8d8a\u3048\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u53d6\u5f97\u3057\u305f\u3089\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3068\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u306e<a href=\"http:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-getting-started.html\">\u8a2d\u5b9a<\/a>\u3092~\/.aws\/config\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f<strong>chef-provisioning<\/strong>\u306eAWS\u30d7\u30ed\u30d0\u30a4\u30c0\u306b\u81ea\u52d5\u7684\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u3002SSH\u30ad\u30fc\u306f\u5f8c\u3067\u8a18\u8ff0\u3059\u308bData Bag Item (JSON)\u5185\u3067\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u5229\u7528\u3057\u305fAWS\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u3073\u305f\u3044\u3067\u3057\u3087\u3046\u3002\u3053\u3053\u3067\u306f\u4f8b\u306e\u305f\u3081\u3001\u30ad\u30fc\u30da\u30a2\u306e\u540d\u524d\u306f<strong>hc-metal-provisioner<\/strong>\u3001\u30ea\u30fc\u30b8\u30e7\u30f3\u306f<strong>us-west-2<\/strong>\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>Chef Provisioning\u306f\u3001\u6b21\u306e3\u304b\u6240\u3067SSH\u30ad\u30fc\u3092\u898b\u3064\u3051\u3089\u308c\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>.chef\/knife.rb<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e<strong>private_keys<\/strong>\u3068<strong>public_keys<\/strong>\u8a2d\u5b9a<\/li>\n<li>\u30de\u30b7\u30f3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306eAWS\u30c9\u30e9\u30a4\u30d0\u306e\u8a2d\u5b9a\u306b\u7528\u3044\u3089\u308c\u308b<strong>machine_options<\/strong>\u8a2d\u5b9a<\/li>\n<li>Recipe\u5185<\/li>\n<\/ol>\n<p>\u3053\u308c\u306b\u3064\u3044\u3066\u5f8c\u3067\u8a73\u3057\u304f\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<h2>Chef\u30ec\u30dd\u30b8\u30c8\u30ea<\/h2>\n<p>\u30db\u30b9\u30c6\u30c3\u30c9Chef\u30a4\u30f3\u30d5\u30e9\u306e\u305f\u3081\u306e\u3059\u3079\u3066\u306e\u6750\u6599\u3092\u683c\u7d0d\u3059\u308b\u305f\u3081\u306b<a href=\"http:\/\/docs.getchef.com\/chef_repo.html\">Chef\u30ec\u30dd\u30b8\u30c8\u30ea<\/a>\u3092\u7528\u3044\u307e\u3059\u3002\u4f8b\u306e\u305f\u3081\u306b\u3001\u65b0\u898f\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u5229\u7528\u3057\u307e\u3059\u3002ChefDK\u306e<strong>chef generate<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% chef generate repo sysadvent-chef-cluster<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306f<a href=\"https:\/\/github.com\/opscode\/chef-dk\/blob\/master\/POLICYFILE_README.md\">Policyfile.rb<\/a>\u3001<strong>.chef\/knife.rb<\/strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3001Data Bag\u7fa4\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002\u6700\u65b0\u306e\u5b9f\u88c5\u4ed5\u69d8\u306f<a href=\"https:\/\/github.com\/opscode-cookbooks\/chef-server-cluster\/blob\/master\/README.md\">chef-server-cluster Cookbook\u306eREADME.md<\/a>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>Chef Zero\u3068Knife Config<\/h2>\n<p>\u524d\u8ff0\u306e\u901a\u308a\u3001Chef Zero\u304c\u3053\u306e\u4f8b\u306e\u305f\u3081\u306eChef Server\u3067\u3001\u7279\u5b9a\u306e\u30dd\u30fc\u30c8(7799)\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002\u5225\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u6b21\u306e\u3088\u3046\u306b\u958b\u59cb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n% chef-zero -l debug -p 7799<br \/>\n<\/code><\/p>\n<p>Knife\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f2\u3064\u306e\u76ee\u7684\u304c\u3042\u308a\u307e\u3059\u30021\u3064\u76ee\u306fChef Zero\u306b\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u8aad\u307f\u8fbc\u307e\u305b\u308b\u305f\u3081\u30012\u3064\u76ee\u306f<strong>chef-client<\/strong>\u3092\u52d5\u4f5c\u3055\u305b\u308b\u6700\u4f4e\u9650\u306e\u8a2d\u5b9a\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u3067\u3059\u3002\u5fc5\u8981\u306a\u8a2d\u5b9a\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u308c\u306f<strong>chef<\/strong>\u3001<strong>knife<\/strong>\u3001<strong>chef-client<\/strong>\u306e\u5404\u30b3\u30de\u30f3\u30c9\u304c\u5148\u306b\u8d77\u52d5\u3057\u305f<strong>chef-zero<\/strong>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u7528\u3044\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u3044\u3046\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nchef_server_url 'http:\/\/localhost:7799'<br \/>\nnode_name       'chef-provisioner'<br \/>\n<\/code><\/p>\n<p>\u6b21\u306e\u7bc0\u3067\u3001\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u6a5f\u80fd\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8ff0\u3079\u308b\u3064\u3082\u308a\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u306f<strong>chef-client<\/strong>\u306b\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u308b\u3088\u3046\u306b\u3057\u3001Chef Client\u304c\u7528\u3044\u308b\u3079\u304d\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30b0\u30eb\u30fc\u30d7\u3092\u6307\u5b9a\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nuse_policyfile   true<br \/>\ndeployment_group 'sysadvent-demo-provisioner'<br \/>\n<\/code><\/p>\n<p>\u524d\u8ff0\u306e\u901a\u308a\u3001\u3069\u3053\u306b\u3042\u308b\u30ad\u30fc\u3092\u8aad\u307f\u8fbc\u3080\u304bChef Provisioning\u306b\u77e5\u3089\u305b\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u306f\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0Node\u306e\u3069\u3053\u304b\u306b\u5b58\u5728\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305aKnife\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nprivate_keys     'hc-metal-provisioner' =&gt; '\/tmp\/ssh\/id_rsa'<br \/>\npublic_keys      'hc-metal-provisioner' =&gt; '\/tmp\/ssh\/id_rsa.pub'<br \/>\n<\/code><\/p>\n<p>\u305d\u3057\u3066Recipe\u3067\u3059\u3002\u3053\u308c\u306f<strong>chef-server-cluster::setup-ssh-keys<\/strong>\u306e\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u57fa\u304d\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nfog_key_pair node['chef-server-cluster']['aws']['machine_options']['bootstrap_options']['key_name'] do<br \/>\nprivate_key_path '\/tmp\/ssh\/id_rsa'<br \/>\npublic_key_path '\/tmp\/ssh\/id_rsa.pub'<br \/>\nend<br \/>\n<\/code><\/p>\n<p>\u3053\u3053\u3067\u306eAttribute\u306f\u30c9\u30e9\u30a4\u30d0\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4e00\u90e8\u3067\u3001<strong>chef-server-cluster::setup-provisioner<\/strong>\u306b\u3042\u308bChef Provisioning\u306e<strong>with_machine_options<\/strong>\u30e1\u30bd\u30c3\u30c9\u306e\u8a2d\u5b9a\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u30de\u30b7\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u306f<a href=\"https:\/\/github.com\/opscode\/chef-provisioning\/blob\/master\/docs\/configuration.md\">Chef Provisioning configuration documentation<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30de\u30b7\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u81ea\u52d5\u7684\u306b<strong>~\/.chef\/keys<\/strong>\u3084<strong>~\/.ssh<\/strong>\u306b\u683c\u7d0d\u3055\u308c\u305f\u30ad\u30fc\u3092\u7528\u3044\u308b\u306e\u3067\u3001\u30c6\u30b9\u30c8\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u306e\u305f\u3081\u306e\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u30b7\u30b9\u30c6\u30e0\u3067\u306e\u304a\u304b\u3057\u306a\u885d\u7a81\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/github.com\/opscode-cookbooks\/chef-server-cluster\/issues\/19\">\u5831\u544a\u3055\u308c\u3066\u3044\u308b\u554f\u984c<\/a>\u3082\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb<\/h3>\n<p><strong>\u307f\u306a\u3055\u3093\u3001\u6c17\u3092\u3064\u3051\u3066\uff01<\/strong> \u3053\u308c\u306f\u5f8c\u3005\u5909\u66f4\u3055\u308c\u308b<s>\u304b\u3082\u3057\u308c\u306a\u3044<\/s>\u5b9f\u9a13\u7684\u306a\u65b0\u6a5f\u80fd\u3067\u3059\u3002\u305d\u308c\u3067\u3082\u8a66\u3057\u3066\u307f\u305f\u3044\u3068\u3044\u3046\u306e\u3067\u3042\u308c\u3070\u3001\u3053\u306e\u8a18\u4e8b\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u5f79\u306b\u7acb\u3064\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u306f<a href=\"https:\/\/github.com\/opscode\/chef-dk\/blob\/master\/POLICYFILE_README.md\">ChefDK\u306e\u30ec\u30dd\u30b8\u30c8\u30ea<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7279\u306b\u300c<a href=\"https:\/\/github.com\/opscode\/chef-dk\/blob\/master\/POLICYFILE_README.md#motivation-and-faq\">Motivation and FAQ<\/a>\u300d(\u8a33\u6ce8: <a href=\"\/lab\/6120#motivation-and-faq\">\u52d5\u6a5f\u3068FAQ<\/a>)\u3092\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fChef DK\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3001Chef (Client) 12\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u306e\u57fa\u672c\u7684\u306a\u8003\u3048\u65b9\u306f\u3001Node\u306erun list\u3068\u3057\u3066\u3001\u30a4\u30f3\u30d5\u30e9\u306e\u4ed5\u4e8b\u3092\u6e80\u8db3\u3059\u308b\u306e\u306b\u5fc5\u8981\u306aRole\u3084Recipe\u3092\u3059\u3079\u3066\u542b\u3093\u3060\u69cb\u6210\u8981\u7d20\u3092\u7d44\u307f\u7acb\u3066\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u5404Policyfile.rb\u306f\u5c11\u306a\u304f\u3068\u3082\u6b21\u3092\u542b\u307f\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>name<\/strong>: \u30dd\u30ea\u30b7\u30fc\u306e\u540d\u524d<\/li>\n<li><strong>run_list<\/strong>: \u30dd\u30ea\u30b7\u30fc\u3092\u4f7f\u3046Node\u306erun list<\/li>\n<li><strong>default_source<\/strong>: Supermarket\u306e\u3088\u3046\u306a\u3001Cookbook\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u3079\u304d\u5834\u6240<\/li>\n<li><strong>cookbook<\/strong>: \u30dd\u30ea\u30b7\u30fc\u3092\u6e80\u8db3\u3059\u308b\u306e\u306b\u5fc5\u8981\u306aCookbook\u3092\u5b9a\u7fa9<\/li>\n<\/ul>\n<p>\u3053\u306e\u4f8b\u3067\u5229\u7528\u3059\u308b\u3001\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u6700\u4e0a\u4f4d\u306b\u7f6e\u3044\u3066\u304a\u304fPolicyfile.rb\u3067\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nname            'sysadvent-demo'<br \/>\nrun_list        'chef-server-cluster::cluster-provision'<br \/>\ndefault_source  :community<br \/>\ncookbook        'chef-server-ingredient', '&gt;= 0.0.0',<br \/>\n:github =&gt; 'opscode-cookbooks\/chef-server-ingredient'<br \/>\ncookbook        'chef-server-cluster', '&gt;= 0.0.0',<br \/>\n:github =&gt; 'opscode-cookbooks\/chef-server-cluster'<br \/>\n<\/code><\/p>\n<p>Policyfile.rb\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001<strong>chef install<\/strong>\u30b3\u30de\u30f3\u30c9\u3067\u30ed\u30c3\u30af\u30d5\u30a1\u30a4\u30eb(Policyfile.lock.json)\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30dd\u30ea\u30b7\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6b21\u306e\u3088\u3046\u306b\u884c\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30dd\u30ea\u30b7\u30fc\u306e\u69cb\u7bc9<\/li>\n<li>~\/.chefdk\/cache\/cookbooks\u306e\u3088\u3046\u306aCookbook\u306e\u683c\u7d0d\u5834\u6240\u306bCookbook\u3092\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d<\/li>\n<li>\u30ed\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210<\/li>\n<\/ul>\n<p>\u3053\u306e\u624b\u9806\u3067\u306f\u3001Cookbook\u3084\u30dd\u30ea\u30b7\u30fc\u3092Chef Server\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u305b\u3093\u3002\u5f8c\u8ff0\u306e\u7bc0\u3067<strong>chef push<\/strong>\u3092\u7528\u3044\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<h3>Data Bag<\/h3>\n<p>Chef\u793e\u3067\u306f\u3001\u8a2d\u5b9a\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u3084\u79d8\u5bc6\u30c7\u30fc\u30bf\u3092Data Bag\u306b\u79fb\u3059\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002\u79d8\u5bc6\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u3001\u79c1\u9054\u306f\u901a\u5e38Chef Vault\u3092\u7528\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u4f8b\u3067\u306f\u53d6\u308a\u6271\u3044\u307e\u305b\u3093\u3002<strong>chef-server-cluster<\/strong> Cookbook\u306f\u3001Chef Client\u3092\u5b9f\u884c\u3059\u308b\u3088\u308a\u524d\u306b\u5fc5\u8981\u306a\u3044\u304f\u3064\u304b\u306eData Bag Item\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>data_bags<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>secrets\/hc-metal-provisioner-chef-aws-us-west-2.json<\/strong>: <strong>hc-metal-provisioner-chef-aws-us-west-2<\/strong>\u3068\u3044\u3046\u540d\u524d\u306f\u3001<strong>chef-server-cluster::setup-ssh-keys<\/strong> Recipe\u304c\u6b63\u3057\u3044item\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002AWS\u30ad\u30fc\u30da\u30a2\u306e\u79d8\u5bc6\u30fb\u516c\u958bSSH\u30ad\u30fc\u306f\u30d7\u30ed\u30d3\u30b8\u30e7\u30caNode\u306e<strong>\/tmp\/ssh<\/strong>\u306b\u66f8\u304d\u51fa\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>secrets\/private-chef-secrets-_default.json<\/strong>: Chef Server\u30b7\u30b9\u30c6\u30e0\u306e\u305f\u3081\u306e\u3059\u3079\u3066\u306e\u79d8\u5bc6\u30c7\u30fc\u30bf\u3067\u3001<strong>\/etc\/opscode\/private-chef-secrets.json<\/strong>\u306b\u66f8\u304d\u8fbc\u307e\u308c\u307e\u3059\u3002<\/li>\n<li><strong>chef_server\/topology.json<\/strong>: Chef Server\u306e\u30c8\u30dd\u30ed\u30b8\u3068\u8a2d\u5b9a\u3067\u3059\u3002\u73fe\u6642\u70b9\u3067\u306f\u3088\u308a\u591a\u304f\u306e\u8a2d\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6301\u3064<strong>\/etc\/opscode\/chef-server.rb<\/strong>\u306b\u5bfe\u3057\u3066\u5341\u5206\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5c06\u6765\u62e1\u5f35\u4e88\u5b9a\u3067\u3059\u3002<\/li>\n<\/ul>\n<p>\u5fc5\u8981\u306aData Bag Item\u306b\u3064\u3044\u3066\u6700\u65b0\u306e\u8a73\u7d30\u306f<a href=\"https:\/\/github.com\/opscode-cookbooks\/chef-server-cluster\/tree\/master\/README.md\">chef-server-cluster Cookbook\u306eREADME.md<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<strong>\u6ce8\u610f<\/strong>: \u73fe\u6642\u70b9\u3067\u306f\u79d8\u5bc6\u30c7\u30fc\u30bf\u306bchef-vault\u304c\u7528\u3044\u3089\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u5c06\u6765\u5909\u66f4\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<h2>\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u30d7\u30ed\u30d3\u30b8\u30e7\u30caNode\u3092\u53ce\u675f\u3059\u308b\u305f\u3081\u3068Chef Server\u30af\u30e9\u30b9\u30bf\u3092\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u7d44\u307f\u7acb\u3066\u305f\u306e\u3067\u3001\u3059\u3079\u3066\u3092Chef Server\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001<strong>provisioner<\/strong>\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30b0\u30eb\u30fc\u30d7\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002\u30b0\u30eb\u30fc\u30d7\u540d\u306f\u3001\u5148\u306b<strong>knife.rb<\/strong>\u3067\u8a2d\u5b9a\u3057\u305f\u30dd\u30ea\u30b7\u30fc\u540d\u306b\u7d50\u3073\u4ed8\u3044\u3066\u3044\u307e\u3059\u3002<strong>chef push<\/strong>\u30b3\u30de\u30f3\u30c9\u3067Cookbook\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u306bJSON\u5f62\u5f0f\u3067\u683c\u7d0d\u3055\u308c\u3066\u3044\u308bData Bag Item\u3082\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% chef install<br \/>\n% chef push provisioner<br \/>\n<\/code><\/p>\n<p>\u6b21\u306b\u3001Data Bag\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife upload data_bags<br \/>\n<\/code><\/p>\n<p>\u5fc5\u8981\u306a\u3059\u3079\u3066\u304cChef Server\u4e0a\u306b\u3042\u308b\u304b\u3069\u3046\u304b\u3001knife\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife data bag list<br \/>\nchef_server<br \/>\npolicyfiles<br \/>\nsecrets<br \/>\n% knife cookbook list<br \/>\napt                      11131342171167261.63923027125258247.235168191861173<br \/>\nchef-server-cluster      2285060862094129.64629594500995644.198889591798187<br \/>\nchef-server-ingredient   37684361341419357.41541897591682737.246865540583454<br \/>\nchef-vault               11505292086701548.4466613666701158.13536425383812<br \/>\n<\/code><\/p>\n<p>\u306a\u3093\u3060\u3053\u306e\u3044\u304b\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u306f\uff1f \u3053\u308c\u306f\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u6a5f\u80fd\u306b\u3088\u308b\u3082\u306e\u3067\u3059\u3002\u4eba\u9593\u304c\u53ef\u8aad\u6027\u306e\u3042\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u306f\u3082\u306f\u3084\u4f7f\u308f\u308c\u305a\u3001Cookbook\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30e6\u30cb\u30fc\u30af\u3067\u3001\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u6587\u5b57\u5217\u3067\u3001\u4e0e\u3048\u3089\u308c\u305f\u30dd\u30ea\u30b7\u30fc\u306b\u6b63\u78ba\u306aCookbook\u4f9d\u5b58\u95a2\u4fc2\u3060\u3068\u308f\u304b\u3063\u3066\u3044\u308b\u30dd\u30ea\u30b7\u30fc\u306b\u57fa\u3044\u3066\u3044\u307e\u3059\u3002\u30d7\u30ed\u30d3\u30b8\u30e7\u30caNode\u3067Chef\u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u3053\u306e\u30dd\u30ea\u30b7\u30fc\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7528\u3044\u307e\u3059\u3002\u30de\u30b7\u30f3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067Chef\u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7528\u3044\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u5c06\u6765\u3001Chef Provisioning\u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u5404Node\u3067\u3082\u30dd\u30ea\u30b7\u30fc\u3092\u6301\u3066\u308b\u3088\u3046\u306b\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<h3>\u78ba\u8a8d\u70b9<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306e\u304a\u3055\u3089\u3044\u3067\u3059\u3002<\/p>\n<ul>\n<li>ChefDK\u3092\u3001Chef Client\u30d0\u30fc\u30b8\u30e7\u30f312\u3068\u3068\u3082\u306b\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0Node (\u30e9\u30c3\u30d7\u30c8\u30c3\u30d7)\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306eAWS IAM\u30e6\u30fc\u30b6\u30af\u30ea\u30c7\u30f3\u30b7\u30e3\u30eb\u3092~\/.aws\/config\u306b\u914d\u7f6e<\/li>\n<li>\u30ed\u30fc\u30ab\u30ebNode\u3067<strong>chef-zero<\/strong>\u3092\u7528\u3044\u3066Chef Server\u3092\u5b9f\u884c<\/li>\n<li><strong>chef-server-cluster<\/strong> Cookbook\u3068\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2<\/li>\n<li>Chef Provisioning\u304cEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u305f\u3081\u306eSSH\u30ad\u30fc\u3092\u542b\u3080\u3001<strong>chef-server-cluster<\/strong>\u306eRecipe\u3092\u7528\u3044\u308b\u305f\u3081\u306b\u5fc5\u8981\u306aData Bag Item<\/li>\n<li><strong>chef-zero<\/strong>\u30b5\u30fc\u30d0\u306b<strong>chef-client<\/strong>\u3092\u5411\u3051\u308b\u305f\u3081\u3001\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e<strong>knife.rb<\/strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/li>\n<\/ul>\n<h2>Chef Client<\/h2>\n<p>\u3088\u3046\u3084\u304f\u3001\u5f85\u3061\u306b\u5f85\u3063\u305f\u77ac\u9593(\u3068\u3044\u3046\u304b\u3061\u3087\u3063\u3068\u9577\u3044\u6642\u9593\u304b\u3082...)\u304c\u3084\u3063\u3066\u304d\u307e\u3057\u305f\uff01 \u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0Node\u3067chef-client\u3092\u52d5\u304b\u3059\u6642\u9593\u3067\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% chef-client -c .chef\/knife.rb<br \/>\n<\/code><\/p>\n<p>\u5b9f\u884c\u3057\u3066\u3044\u308b\u9593\u306b\u3001\u3053\u3053\u3067\u4f55\u3092\u3057\u3066\u3044\u308b\u304b\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u3001<strong>chef-client<\/strong>\u304c\u5b9f\u884c\u3059\u308b\u969b\u3001<strong>\/etc\/chef\/client.rb<\/strong>\u304b\u3089\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\u8aac\u660e\u3057\u305f\u901a\u308a\u3001\u4eca\u306f\u72ec\u81ea\u306e<a href=\"http:\/\/jtimberman.housepub.org\/blog\/2012\/07\/29\/os-x-workstation-management-with-chef\/\">run list\u3068\u8a2d\u5b9a<\/a>\u3092\u6301\u3063\u3066\u3044\u308b\u30e9\u30c3\u30d7\u30c8\u30c3\u30d7\u3092\u7528\u3044\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u307e\u3067\u8aac\u660e\u3057\u3066\u3044\u308b<strong>knife.rb<\/strong>\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u30017799\u30dd\u30fc\u30c8\u3067\u52d5\u3044\u3066\u3044\u308b<strong>chef-zero<\/strong> Chef Server\u3068\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30b0\u30eb\u30fc\u30d7\u3092\u7528\u3044\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Chef\u304c\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u304b\u3089run list\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u3092\u5f97\u3089\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\nresolving cookbooks for run list: [\"chef-server-cluster::cluster-provision@0.0.7 (081e403)\"]<br \/>\nSynchronizing Cookbooks:<br \/>\n- chef-server-ingredient<br \/>\n- chef-server-cluster<br \/>\n- apt<br \/>\n- chef-vault<br \/>\n<\/code><\/p>\n<p>\u51fa\u529b\u306e\u6b8b\u308a\u306fChef\u30e6\u30fc\u30b6\u306b\u3068\u3063\u3066\u306a\u3058\u307f\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001Chef Provisioning\u304c\u884c\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u3001\u6b21\u306eResource\u304c<strong>chef-server-cluster::cluster-provision<\/strong> Recipe\u5185\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nmachine 'bootstrap-backend' do<br \/>\nrecipe 'chef-server-cluster::bootstrap'<br \/>\nohai_hints 'ec2' =&gt; '{}'<br \/>\naction :converge<br \/>\nconverge true<br \/>\nend<br \/>\n<\/code><\/p>\n<p>Chef Server\u30af\u30e9\u30b9\u30bf\u306b\u69cb\u7bc9\u3059\u308b\u6700\u521d\u306e\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u4ed6\u306eNode\u306b\u7528\u3044\u3089\u308c\u308b\u30c7\u30fc\u30bf\u306e\u683c\u7d0d\u5eab\u3092\u300c\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u300d\u3059\u308b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9Node\u3067\u3059\u3002\u3053\u308c\u306fPostgreSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084RabbitMQ\u30e1\u30c3\u30bb\u30fc\u30b8\u30ad\u30e5\u30fc\u306a\u3069\u3092\u542b\u307f\u307e\u3059\u3002\u6b21\u306fChef Provisioning\u304c\u3053\u306emachine Resource\u3092\u4f5c\u6210\u3059\u308b\u969b\u306e\u51fa\u529b\u3067\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\nRecipe: chef-server-cluster::cluster-provision<br \/>\n* machine[bootstrap-backend] action converge<br \/>\n- creating machine bootstrap-backend on fog:AWS:862552916454:us-west-2<br \/>\n-   key_name: \"hc-metal-provisioner\"<br \/>\n-   image_id: \"ami-b99ed989\"<br \/>\n-   flavor_id: \"m3.medium\"<br \/>\n- machine bootstrap-backend created as i-14dec01b on fog:AWS:862552916454:us-west-2<br \/>\n- Update tags for bootstrap-backend on fog:AWS:862552916454:us-west-2<br \/>\n-   Add Name = \"bootstrap-backend\"<br \/>\n-   Add BootstrapId = \"http:\/\/localhost:7799\/nodes\/bootstrap-backend\"<br \/>\n-   Add BootstrapHost = \"champagne.local\"<br \/>\n-   Add BootstrapUser = \"jtimberman\"<br \/>\n- create node bootstrap-backend at http:\/\/localhost:7799<br \/>\n-   add normal.tags = nil<br \/>\n-   add normal.chef_provisioning = {\"location\"=&gt;{\"driver_url\"=&gt;\"fog:AWS:XXXXXXXXXXXX:us-west-2\", \"driver_version\"=&gt;\"0.11\", \"server_id\"=&gt;\"i-14dec01b\", \"creator\"=&gt;\"user\/IAMUSERNAME, \"allocated_at\"=&gt;1417385355, \"key_name\"=&gt;\"hc-metal-provisioner\", \"ssh_username\"=&gt;\"ubuntu\"}}<br \/>\n-   update run_list from [] to [\"recipe[chef-server-cluster::bootstrap]\"]<br \/>\n- waiting for bootstrap-backend (i-14dec01b on fog:AWS:XXXXXXXXXXXX:us-west-2) to be ready ...<br \/>\n- bootstrap-backend is now ready<br \/>\n- waiting for bootstrap-backend (i-14dec01b on fog:AWS:XXXXXXXXXXXX:us-west-2) to be connectable (transport up and running) ...<br \/>\n- bootstrap-backend is now connectable<br \/>\n- generate private key (2048 bits)<br \/>\n- create directory \/etc\/chef on bootstrap-backend<br \/>\n- write file \/etc\/chef\/client.pem on bootstrap-backend<br \/>\n- create client bootstrap-backend at clients<br \/>\n-   add public_key = \"-----BEGIN PUBLIC KEY-----\\n...\"<br \/>\n- create directory \/etc\/chef\/ohai\/hints on bootstrap-backend<br \/>\n- write file \/etc\/chef\/ohai\/hints\/ec2.json on bootstrap-backend<br \/>\n- write file \/etc\/chef\/client.rb on bootstrap-backend<br \/>\n- write file \/tmp\/chef-install.sh on bootstrap-backend<br \/>\n- run 'bash -c ' bash \/tmp\/chef-install.sh'' on bootstrap-backend<br \/>\n<\/code><\/p>\n<p>\u3053\u3053\u304b\u3089\u3001Chef Provisioning\u306f\u305f\u3063\u305f\u4eca\u4f5c\u6210\u3057\u305f\u30de\u30b7\u30f3\u4e0a\u3067<strong>chef-client<\/strong>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u306e<strong>install.sh<\/strong>\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001Chef\u793e\u306e<a href=\"https:\/\/docs.getchef.com\/api_omnitruck.html\">omnitruck<\/a>\u30b5\u30fc\u30d3\u30b9\u306e1\u3064\u3092\u7528\u3044\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306fChef\u306e\u73fe\u5728\u306e\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u3001\u57f7\u7b46\u6642\u70b9\u3067\u306f11.16.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u300212\u3067\u306f\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30de\u30b7\u30f3\u3067\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3067\u304d\u306a\u3044\u4ed6\u306e\u7406\u7531\u304c\u3053\u308c\u3067\u3059\u3002machine Resource\u3067\u6307\u5b9a\u3057\u305frun list\u3092\u7528\u3044\u3066\u3044\u308b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067<strong>chef-client<\/strong>\u304c\u52d5\u304d\u59cb\u3081\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\nStarting Chef Client, version 11.16.4<br \/>\nresolving cookbooks for run list: [\"chef-server-cluster::bootstrap\"]<br \/>\nSynchronizing Cookbooks:<br \/>\n- chef-server-cluster<br \/>\n- chef-server-ingredient<br \/>\n- chef-vault<br \/>\n- apt<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u51fa\u529b\u3067\u306f\u3001\u6b21\u306eRecipe\u3068Resource\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\nRecipe: chef-server-cluster::default<br \/>\n* chef_server_ingredient[chef-server-core] action reconfigure<br \/>\n* execute[chef-server-core-reconfigure] action run<br \/>\n- execute chef-server-ctl reconfigure<br \/>\n<\/code><\/p>\n<p>\u300cingredient\u300d\u306fChef Server\u306e\u69cb\u6210\u8981\u7d20\u3067\u3001\u524d\u8ff0\u306e\u30b3\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u304bChef Manage\u3084Chef Reporting\u3068\u3044\u3063\u305fChef Server\u30a2\u30c9\u30aa\u30f3\u306e1\u3064\u3067\u3059\u3002\u30a2\u30c9\u30aa\u30f3\u306e\u901a\u5e38\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3067\u306f\u3001<strong>chef_server_ingredient<\/strong> Resource\u306b\u3088\u3063\u3066\u3059\u3079\u3066\u6271\u308f\u308c\u3066\u3044\u308b\u3001\u9069\u5207\u306a<strong>ctl reconfigure<\/strong>\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306ereconfigure\u306f\u5b9f\u969b\u306b\u306fChef Solo\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u306e\u3067\u3001chef-client\u306e\u5b9f\u884c\u4e2d\u306bchef-client\u3092\u5b9f\u884c\u3057\u3066\u3055\u3089\u306bchef-solo\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>bootstrap-backend<\/strong> Node\u306f\u3001\u4ed6\u306eNode\u3067\u5fc5\u8981\u306a\u3044\u304f\u3064\u304b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002Chef Provisioning\u304b\u3089\u305d\u308c\u3089\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3001<strong>machine_file<\/strong> Resource\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n%w{ actions-source.json webui_priv.pem }.each do |analytics_file|<br \/>\nmachine_file \"\/etc\/opscode-analytics\/#{analytics_file}\" do<br \/>\nlocal_path \"\/tmp\/stash\/#{analytics_file}\"<br \/>\nmachine 'bootstrap-backend'<br \/>\naction :download<br \/>\nend<br \/>\nend<\/code><\/p>\n<p>machine_file '\/etc\/opscode\/webui_pub.pem' do<br \/>\nlocal_path '\/tmp\/stash\/webui_pub.pem'<br \/>\nmachine 'bootstrap-backend'<br \/>\naction :download<br \/>\nend<\/p>\n<p>\u3053\u308c\u3089\u306f\u30ed\u30fc\u30ab\u30ebNode\u3001\u3059\u306a\u308f\u3061\u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u306b\u300c\u96a0\u3055\u308c\u3066\u300d\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306fChef Manage WebUI\u3068Chef Analytics\u306eNode\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u3067\u3053\u306eRecipe\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u3092\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n* machine_file[\/etc\/opscode-analytics\/actions-source.json] action download<br \/>\n- download file \/etc\/opscode-analytics\/actions-source.json on bootstrap-backend to \/tmp\/stash\/actions-source.json<br \/>\n* machine_file[\/etc\/opscode-analytics\/webui_priv.pem] action download<br \/>\n- download file \/etc\/opscode-analytics\/webui_priv.pem on bootstrap-backend to \/tmp\/stash\/webui_priv.pem<br \/>\n* machine_file[\/etc\/opscode\/webui_pub.pem] action download<br \/>\n- download file \/etc\/opscode\/webui_pub.pem on bootstrap-backend to \/tmp\/stash\/webui_pub.pem<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3089\u306f<strong>files<\/strong> Resource Attribute\u3067\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068Analytics\u30de\u30b7\u30f3\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306f\u30cf\u30c3\u30b7\u30e5\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002\u30ad\u30fc\u306f\u30de\u30b7\u30f3\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5bfe\u8c61\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3001\u5024\u306f\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0Node\u306e\u5143\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nmachine 'frontend' do<br \/>\nrecipe 'chef-server-cluster::frontend'<br \/>\nfiles(<br \/>\n'\/etc\/opscode\/webui_priv.pem' =&gt; '\/tmp\/stash\/webui_priv.pem',<br \/>\n'\/etc\/opscode\/webui_pub.pem' =&gt; '\/tmp\/stash\/webui_pub.pem'<br \/>\n)<br \/>\nend<\/code><\/p>\n<p>machine 'analytics' do<br \/>\nrecipe 'chef-server-cluster::analytics'<br \/>\nfiles(<br \/>\n'\/etc\/opscode-analytics\/actions-source.json' =&gt; '\/tmp\/stash\/actions-source.json',<br \/>\n'\/etc\/opscode-analytics\/webui_priv.pem' =&gt; '\/tmp\/stash\/webui_priv.pem'<br \/>\n)<br \/>\nend<\/p>\n<p><strong>\u6ce8\u610f<\/strong>: \u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306fSSH\u3092\u7528\u3044\u3066\u8ee2\u9001\u3055\u308c\u308b\u306e\u3067\u3001\u5e73\u6587\u3067\u6d41\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u306f\u6b21\u306b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3092\u53ce\u675f\u3057\u3001Analytics Node\u304c\u7d9a\u304d\u307e\u3059\u3002\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3067\u5148\u306b\u898b\u305f\u3088\u3046\u306a\u51fa\u529b\u304c\u5f97\u3089\u308c\u308b\u307e\u3067\u3001\u98db\u3070\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n* machine[frontend] action converge<br \/>\n... SNIP<br \/>\n- upload file \/tmp\/stash\/webui_priv.pem to \/etc\/opscode\/webui_priv.pem on frontend<br \/>\n- upload file \/tmp\/stash\/webui_pub.pem to \/etc\/opscode\/webui_pub.pem on frontend<br \/>\n<\/code><\/p>\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u3001WebUI\u304c\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3061\u306a\u307f\u306bWebUI\u306f<strong>knife<\/strong>\u3084<strong>chef-client<\/strong>\u306e\u3088\u3046\u306aAPI\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067<strong>chef-client<\/strong>\u304c\u52d5\u4f5c\u3059\u308b\u3068\u3001ingredient Resource\u3092\u901a\u3058\u3066<strong>chef-server-core<\/strong>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066<strong>chef-server-ctl reconfigure<\/strong>\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001Manage\u30a2\u30c9\u30aa\u30f3\u3068Reporting\u30a2\u30c9\u30aa\u30f3\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n* chef_server_ingredient[opscode-manage] action install<br \/>\n* package[opscode-manage] action install<br \/>\n- install version 1.6.2-1 of package opscode-manage<br \/>\n* chef_server_ingredient[opscode-reporting] action install<br \/>\n* package[opscode-reporting] action install<br \/>\n- install version 1.2.1-1 of package opscode-reporting<br \/>\nRecipe: chef-server-cluster::frontend<br \/>\n* chef_server_ingredient[opscode-manage] action reconfigure<br \/>\n* execute[opscode-manage-reconfigure] action run<br \/>\n- execute opscode-manage-ctl reconfigure<br \/>\n* chef_server_ingredient[opscode-reporting] action reconfigure<br \/>\n* execute[opscode-reporting-reconfigure] action run<br \/>\n- execute opscode-reporting-ctl reconfigure<br \/>\n<\/code><\/p>\n<p>\u524d\u8ff0\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u3088\u3046\u306b\u3001Analytics Node\u304cEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u3057\u3066\u4f5c\u6210\u3055\u308c\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n- upload file \/tmp\/stash\/actions-source.json to \/etc\/opscode-analytics\/actions-source.json on analytics<br \/>\n- upload file \/tmp\/stash\/webui_priv.pem to \/etc\/opscode-analytics\/webui_priv.pem on analytics<br \/>\n<\/code><\/p>\n<p>\u305d\u3057\u3066\u3001Analytics\u30d1\u30c3\u30b1\u30fc\u30b8\u304cingredient\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001reconfigure\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n* chef_server_ingredient[opscode-analytics] action install<br \/>\n* package[opscode-analytics] action install<br \/>\n- install version 1.0.4-1 of package opscode-analytics<br \/>\n* chef_server_ingredient[opscode-analytics] action reconfigure<br \/>\n* execute[opscode-analytics-reconfigure] action run<br \/>\n- execute opscode-analytics-ctl reconfigure<br \/>\n...<br \/>\nChef Client finished, 10\/15 resources updated in 1108.3078 seconds<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u304c\u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u3067<strong>chef-client<\/strong>\u3092\u5b9f\u884c\u3057\u305f\u6700\u5f8c\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8868\u793a\u306b\u306a\u308b\u307e\u3067\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u7d50\u679c\u3068\u691c\u8a3c<\/h2>\n<p>Chef Server\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3001Analytics\u306e\u5404\u30b7\u30b9\u30c6\u30e0\u3092EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u3057\u30663\u3064\u306eNode\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002<strong>chef-zero<\/strong>\u30b5\u30fc\u30d0\u3067Node Object\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife node list<br \/>\nanalytics<br \/>\nbootstrap-backend<br \/>\nchef-provisioner<br \/>\nfrontend<br \/>\n<\/code><\/p>\n<p>search\u3082\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife search node 'ec2:*' -r<br \/>\n3 items found<\/code><\/p>\n<p>analytics:<br \/>\nrun_list: recipe[chef-server-cluster::analytics]<\/p>\n<p>bootstrap-backend:<br \/>\nrun_list: recipe[chef-server-cluster::bootstrap]<\/p>\n<p>frontend:<br \/>\nrun_list: recipe[chef-server-cluster::frontend]<\/p>\n<p>% knife search node 'ec2:*' -a ipaddress<br \/>\n3 items found<\/p>\n<p>analytics:<br \/>\nipaddress: 172.31.13.203<\/p>\n<p>bootstrap-backend:<br \/>\nipaddress: 172.31.1.60<\/p>\n<p>frontend:<br \/>\nipaddress: 172.31.1.120<\/p>\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u3001Chef Server\u306e\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u7528\u3044\u3066\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u3001starter kit\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u3067\u304d\u305f\u3066\u306eChef Server\u306b\u5bfe\u3057\u3066\u65b0\u3057\u3044Node\u3092\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% unzip chef-starter.zip<br \/>\nArchive:  chef-starter.zip<br \/>\n...<br \/>\ninflating: chef-repo\/.chef\/sysadvent-demo.pem<br \/>\ninflating: chef-repo\/.chef\/sysadvent-demo-validator.pem<br \/>\n% cd chef-repo<br \/>\n% knife client list<br \/>\nsysadvent-demo-validator<br \/>\n% knife node create sysadvent-node1 -d<br \/>\nCreated node[sysadvent-node1]<br \/>\n<\/code><\/p>\n<p>Analytics\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u3001\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3067\u304d\u3001starter kit\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3068\u3044\u3046\u30a4\u30d9\u30f3\u30c8\u3067\u3042\u308bvalidator\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30ad\u30fc\u306e\u518d\u751f\u6210\u3001Node\u306e\u4f5c\u6210\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u6b21\u306e\u5c55\u958b<\/h2>\n<p>\u3053\u308c\u307e\u3067\u898b\u3066\u304d\u305f\u901a\u308a\u3001\u3053\u308c\u306f\u5b8c\u5168\u306a\u6a5f\u80fd\u3092\u6301\u3063\u305fChef Server\u3067\u3059\u300225 Node\u307e\u3067\u7121\u6599\u306eManage\u3001Reporting\u3001Analytics\u3068\u3044\u3063\u305f\u30d7\u30ec\u30df\u30a2\u30e0\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3059\u308bRecipe\u3092\u7528\u3044\u3066\u30af\u30e9\u30b9\u30bf\u3092\u7834\u68c4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<strong>.chef\/knife.rb<\/strong>\u306e\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u9069\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% grep policyfile .chef\/knife.rb<br \/>\n# use_policyfile   true<br \/>\n% chef-client -c .chef\/knife.rb -o chef-server-cluster::cluster-clean<br \/>\nRecipe: chef-server-cluster::cluster-clean<br \/>\n* machine[analytics] action destroy<br \/>\n- destroy machine analytics (i-5cdac453 at fog:AWS:XXXXXXXXXXXX:us-west-2)<br \/>\n- delete node analytics at http:\/\/localhost:7799<br \/>\n- delete client analytics at clients<br \/>\n* machine[frontend] action destroy<br \/>\n- destroy machine frontend (i-68dfc167 at fog:AWS:XXXXXXXXXXXX:us-west-2)<br \/>\n- delete node frontend at http:\/\/localhost:7799<br \/>\n- delete client frontend at clients<br \/>\n* machine[bootstrap-backend] action destroy<br \/>\n- destroy machine bootstrap-backend (i-14dec01b at fog:AWS:XXXXXXXXXXXXX:us-west-2)<br \/>\n- delete node bootstrap-backend at http:\/\/localhost:7799<br \/>\n- delete client bootstrap-backend at clients<br \/>\n* directory[\/tmp\/ssh] action delete<br \/>\n- delete existing directory \/tmp\/ssh<br \/>\n* directory[\/tmp\/stash] action delete<br \/>\n- delete existing directory \/tmp\/stash<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u307e\u3067\u898b\u3066\u304d\u305f\u901a\u308a\u3001Chef Provisioning\u6a5f\u80fd\u306f\u5f37\u529b\u3067\u3001Chef Server 12\u30af\u30e9\u30b9\u30bf\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306e\u67d4\u8edf\u6027\u3082\u5927\u3044\u306b\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u3001\u79c1\u9054\u306f\u3053\u308c\u3092\u7528\u3044\u3066\u30db\u30b9\u30c6\u30c3\u30c9Chef\u3092\u518d\u69cb\u7bc9\u3057\u3001HA\u6a5f\u80fd\u3084\u30b9\u30b1\u30fc\u30eb\u30a2\u30a6\u30c8\u53ef\u80fd\u306a\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u8907\u6570\u306eNode\u306b\u5206\u5272\u3068\u3044\u3063\u305f\u3088\u308a\u591a\u304f\u306e\u6a5f\u80fd\u3092Cookbook\u306b\u8ffd\u52a0\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server (2014\/12\/15) \u306e\u548c\u8a33\u3067\u3059\u3002 Or, Yo Dawg, I heard yo [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-6635","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] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef |\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server\" \/>\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\/cloudnative\/chef\/6635\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef |\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635\" \/>\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=\"2014-12-22T07:00:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-26T07:13:10+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=\"8\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\\\/cloudnative\\\/chef\\\/6635#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja\",\"datePublished\":\"2014-12-22T07:00:51+00:00\",\"dateModified\":\"2026-05-26T07:13:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635\"},\"wordCount\":659,\"commentCount\":0,\"articleSection\":[\"Chef\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635\",\"name\":\"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"datePublished\":\"2014-12-22T07:00:51+00:00\",\"dateModified\":\"2026-05-26T07:13:10+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef |\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6635#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] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_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\\\/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] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef |\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server","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\/cloudnative\/chef\/6635","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef |\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635","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":"2014-12-22T07:00:51+00:00","article_modified_time":"2026-05-26T07:13:10+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":"8\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja","datePublished":"2014-12-22T07:00:51+00:00","dateModified":"2026-05-26T07:13:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635"},"wordCount":659,"commentCount":0,"articleSection":["Chef"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635","name":"[\u548c\u8a33] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"datePublished":"2014-12-22T07:00:51+00:00","dateModified":"2026-05-26T07:13:10+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef |\u672c\u7a3f\u306f SysAdvent Day 14: Using Chef Provisioning to Build Chef Server","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6635#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] SysAdvent Day 14: Chef Provisioning\u3092\u7528\u3044\u3066Chef Server\u3092\u69cb\u7bc9\u3059\u308b #opschef_ja #getchef_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\/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\/6635","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=6635"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6635\/revisions"}],"predecessor-version":[{"id":83865,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6635\/revisions\/83865"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=6635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=6635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=6635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}