{"id":9406,"date":"2015-04-24T17:30:18","date_gmt":"2015-04-24T08:30:18","guid":{"rendered":"http:\/\/www.creationline.com\/?p=9406"},"modified":"2015-06-02T17:59:08","modified_gmt":"2015-06-02T08:59:08","slug":"chef-provisioning%e3%81%a8chef-provisioning-ssh%e3%81%a7%e3%81%8a%e6%89%8b%e8%bb%bd%e3%82%af%e3%83%a9%e3%82%b9%e3%82%bf%e3%83%97%e3%83%ad%e3%83%93%e3%82%b8%e3%83%a7%e3%83%8b%e3%83%b3%e3%82%b0","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9406","title":{"rendered":"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef"},"content":{"rendered":"<p><a href=\"\/lab\/9113\">\u524d\u56de<\/a>\u306f<a href=\"http:\/\/docs.chef.io\/server\/install_server.html#standalone\">Standalone<\/a>\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306f<a href=\"https:\/\/github.com\/chef\/chef-provisioning\">chef-provisioning<\/a>\u3068<a href=\"https:\/\/github.com\/chef\/chef-provisioning-ssh\">chef-provisioning-ssh<\/a>\u3092\u7528\u3044\u3066\u3001<a href=\"http:\/\/docs.chef.io\/install_server_tiered.html\">Tier<\/a>\u69cb\u6210\u306eChef Server\u3092\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>chef-provisioning\u306f\u5148\u65e5\u306e<a href=\"\/lab\/7336\">Meetup<\/a>\u3067<a href=\"https:\/\/github.com\/vinyar\">Alex<\/a>\u3082<a href=\"https:\/\/github.com\/vinyar\/tokyo_chef_provisioning\">\u30c7\u30e2<\/a>\u3055\u308c\u305f\u306e\u3067\u3054\u5b58\u77e5\u306e\u65b9\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u540c\u65e5\u306e\u30d7\u30ec\u30bc\u30f3\u3067\u307e\u3060<a href=\"https:\/\/github.com\/double-z\/chef-metal-ssh\">chef-metal-ssh<\/a>\u306e\u540d\u79f0\u3067\u3042\u3063\u305fSSH Driver\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u5ea6Author\u306e<a href=\"https:\/\/github.com\/double-z\">Zack Zondlo<\/a>\u6c0f\u304c\u30b3\u30fc\u30c9\u3092Rewrite\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u81ea\u4f53\u3082<a href=\"https:\/\/github.com\/chef\/\">Chef<\/a>\u914d\u4e0b\u306b\u53d6\u308a\u8fbc\u307e\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u4eca\u56de\u5b9f\u969b\u306b\u5b9f\u884c\u3059\u308b\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/github.com\/urasoko\/tier_chef-server\">https:\/\/github.com\/urasoko\/tier_chef-server<\/a><\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u3067\u3059\u3002<br \/>\n<code>$ chef-client -z tier_chef-server.rb --chef-zero-port 8899<\/code><br \/>\nchef-client\u306e\u30ed\u30fc\u30ab\u30eb\u30e2\u30fc\u30c9\u3067chef-provisioning\u306eRecipe\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3067Workstation\u306echef-repo\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30d9\u30fc\u30b9\u306b<a href=\"https:\/\/github.com\/chef\/chef-zero\">chef-zero<\/a>\u304c\u8d77\u52d5\u3055\u308c\u3001Chef Server\u306e\u5f79\u5272\u3092\u62c5\u3044\u307e\u3059\u3002\u65e2\u5b58\u306eChef Server\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n(chef-zero-port\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u306f\u3001<a href=\"https:\/\/docs.chef.io\/reporting.html\">Reporting<\/a>\u30a2\u30c9\u30aa\u30f3\u306e<a href=\"https:\/\/docs.chef.io\/ctl_reporting.html#reconfigure\">reconfigure<\/a>\u30b3\u30de\u30f3\u30c9\u304c\u3001\u5185\u90e8\u3067chef-client\u306e\u30ed\u30fc\u30ab\u30eb\u30e2\u30fc\u30c9\u3092\u5229\u7528\u3057\u3066\u304a\u308a\u3001chef-zero\u304c\u4f7f\u7528\u3059\u308bport\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3067\u885d\u7a81\u3059\u308b\u305f\u3081\u3067\u3059)<\/p>\n<p>\u539f\u5247<a href=\"http:\/\/docs.chef.io\/\">docs<\/a>\u306e\u624b\u9806\u306b\u5247\u308b\u306e\u3067\u3059\u304c\u3001Tier\u69cb\u6210\u306e<a href=\"http:\/\/docs.chef.io\/install_server_tiered.html\">docs<\/a>\u306f\u3069\u3046\u3084\u3089<a href=\"http:\/\/docs.chef.io\/install_server_ha_drbd.html\">HA<\/a>\u69cb\u6210\u306e\u8a18\u8f09\u3068\u5165\u308a\u6df7\u3058\u3063\u3066\u304a\u308a\u5206\u304b\u308a\u3065\u3089\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n(\u304a\u305d\u3089\u304fSphinx\u306erst\u30d5\u30a1\u30a4\u30ebinclude\u304c\u8907\u96d1\u5316\u3057\u3066\u3044\u308b\u306e\u3060\u3068\u601d\u308f\u308c\u307e\u3059)<\/p>\n<p>\u7c21\u5358\u306b\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u62c5\u3046backend\u30ed\u30fc\u30eb\u3092\u5148\u306b\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3057\u3001backend\u3067\u4f5c\u6210\u3055\u308c\u305f\u5404\u7a2e\u30ad\u30fc\u53ca\u3073\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092frontend\u30ed\u30fc\u30eb\u3078\u3082\u5c55\u958b\u306e\u3046\u3048\u3001frontend\u3092\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u4eca\u56de\u306fssh\u3092\u7528\u3044\u307e\u3059\u306e\u3067\u4e8b\u524d\u306b2\u3064\u306e\u30b5\u30fc\u30d0\u60c5\u5831\u304c\u660e\u78ba\u3067\u3059\u3002\u3053\u308c\u3089\u3092\u57fa\u306bchef-server.rb\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u306e\u3046\u3048backend\u3092\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nmachine \"backend\" do<br \/>\n  machine_options :transport_options => {<br \/>\n    :ip_address => backend_ipaddr,<br \/>\n    :username => 'root',<br \/>\n    :ssh_options => {<br \/>\n      :keys => ['~\/.ssh\/id_rsa']      #custom to your auth info<br \/>\n    }<br \/>\n  }<br \/>\n  attribute %w[chef-server backend fqdn], backend_fqdn<br \/>\n  attribute %w[chef-server backend ipaddr], backend_ipaddr<br \/>\n  attribute %w[chef-server frontend fqdn], frontend_fqdn<br \/>\n  attribute %w[chef-server frontend ipaddr], frontend_ipaddr<br \/>\n  recipe 'chef-server::backend'<br \/>\n  converge true<br \/>\nend<br \/>\n<\/code><br \/>\n\u6b21\u306bbackend\u3067\u4f5c\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u7fa4\u306e\u3046\u3061frontend\u306b\u5fc5\u8981\u306a\u30ad\u30fc\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u65e6Workstation\u306e\/tmp\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nbackend_files.each do |file|<br \/>\n  machine_file \"\/etc\/opscode\/#{file}\" do<br \/>\n    local_path \"\/tmp\/#{file}\"<br \/>\n    machine 'backend'<br \/>\n    action :download<br \/>\n  end<br \/>\nend<br \/>\n<\/code><br \/>\n<strong>machine_file<\/strong>\u30ea\u30bd\u30fc\u30b9\u306e\u5b9f\u88c5\u306fNet::SCP\u306a\u306e\u3067\u3059\u304c\u3001\u73fe\u72b6recursive\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306f\u975e\u5bfe\u5fdc\u306a\u306e\u3067\u3001\u5c11\u3057\u6570\u306f\u591a\u3044\u3067\u3059\u304c\u30d5\u30a1\u30a4\u30eb\u5358\u4f4d\u3067\u51e6\u7406\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3051\u3066frontend\u3078\u30d5\u30a1\u30a4\u30eb\u7fa4\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u305d\u306e\u969bfrontend\u306e\u60c5\u5831\u3092driver\u304c\u77e5\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001<strong>machine<\/strong>\u30ea\u30bd\u30fc\u30b9\u306e<strong>allocate<\/strong>\u3092\u5b9f\u884c\u3057\u305f\u5f8c\u306b<strong>machine_file<\/strong>\u3067\u51e6\u7406\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nmachine \"frontend\" do<br \/>\n  machine_options :transport_options => {<br \/>\n    :ip_address => frontend_ipaddr,<br \/>\n    :username => 'root',<br \/>\n    :ssh_options => {<br \/>\n      :keys => ['~\/.ssh\/id_rsa']      #custom to your auth info<br \/>\n    }<br \/>\n  }<br \/>\n  action :allocate<br \/>\nend<br \/>\n<\/code><br \/>\n<code lang=\"ruby\"><br \/>\nbackend_files.each do |file|<br \/>\n  machine_file \"\/etc\/opscode\/#{file}\" do<br \/>\n    local_path \"\/tmp\/#{file}\"<br \/>\n    machine 'frontend'<br \/>\n    action :upload<br \/>\n  end<br \/>\nend<br \/>\n<\/code><br \/>\n\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5b8c\u4e86\u5f8c\u306b\u3001\u6539\u3081\u3066frontend\u306e\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3067\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nmachine \"frontend\" do<br \/>\n  recipe 'chef-server::frontend'<br \/>\n  converge true<br \/>\nend<br \/>\n<\/code><br \/>\n\u5b9f\u884c\u30ed\u30b0\u306e\u629c\u7c8b\u3067\u3059\u3002<br \/>\n<code><br \/>\n$ chef-client -z tier_chef-server.rb --chef-zero-port 8899<br \/>\n...<br \/>\n  * machine[backend] action converge<br \/>\n    - create node backend at http:\/\/localhost:8899<br \/>\n    -   add normal.tags = nil<br \/>\n    -   add normal.chef-server = {\"backend\"=>{\"fqdn\"=>\"backend.cl-lab.io\", \"ipaddr\"=>\"10.132.7.113\"}, \"frontend\"=>{\"fqdn\"=>\"frontend.cl-lab.io\", \"ipaddr\"=>\"10.132.7.114\"}}<br \/>\n    -   add normal.chef_provisioning = {\"reference\"=>{\"driver_url\"=>\"ssh:\/Users\/urasoko\/.chef\/provisioning\/ssh\", \"driver_version\"=>\"0.0.7\", \"target_name\"=>\"backend\", \"ssh_machine_file\"=>\"\/Users\/urasoko\/.chef\/provisioning\/ssh\/backend.json\", \"allocated_at\"=>\"2015-04-24 07:25:38 UTC\"}}<br \/>\n...<br \/>\n    - generate private key (2048 bits)<br \/>\n    - create directory \/etc\/chef on backend<br \/>\n    - write file \/etc\/chef\/client.pem on backend<br \/>\n    - create client backend at clients<br \/>\n...<br \/>\n    - write file \/etc\/chef\/client.rb on backend<br \/>\n    - write file \/tmp\/chef-install.sh on backend<br \/>\n    - run 'bash -c ' bash \/tmp\/chef-install.sh'' on backend<br \/>\n    [backend] Starting Chef Client, version 12.2.1<br \/>\n              resolving cookbooks for run list: [\"chef-server::backend\"]<br \/>\n              Synchronizing Cookbooks:<br \/>\n                - chef-server<br \/>\n              Compiling Cookbooks...<br \/>\n              Converging 7 resources<br \/>\n              Recipe: chef-server::backend<br \/>\n...<br \/>\n              Chef Client finished, 8\/8 resources updated in 467.20672179 seconds<br \/>\n    - run 'chef-client -l auto' on backend<br \/>\n  * machine_file[\/etc\/opscode\/chef-server-running.json] action download<br \/>\n    - download file \/etc\/opscode\/chef-server-running.json on backend to \/tmp\/chef-server-running.json<br \/>\n...<br \/>\n  * machine[frontend] action allocate<br \/>\n    - create node frontend at http:\/\/localhost:8899<br \/>\n    -   add normal.tags = nil<br \/>\n    -   add normal.chef_provisioning = {\"reference\"=>{\"driver_url\"=>\"ssh:\/Users\/urasoko\/.chef\/provisioning\/ssh\", \"driver_version\"=>\"0.0.7\", \"target_name\"=>\"frontend\", \"ssh_machine_file\"=>\"\/Users\/urasoko\/.chef\/provisioning\/ssh\/frontend.json\", \"allocated_at\"=>\"2015-04-24 07:34:01 UTC\"}}<br \/>\n  * machine_file[\/etc\/opscode\/chef-server-running.json] action upload<br \/>\n    - upload file \/tmp\/chef-server-running.json to \/etc\/opscode\/chef-server-running.json on frontend<br \/>\n...<br \/>\n  * machine[frontend] action converge<br \/>\n    - update node frontend at http:\/\/localhost:8899<br \/>\n...<br \/>\n    - generate private key (2048 bits)<br \/>\n    - create directory \/etc\/chef on frontend<br \/>\n    - write file \/etc\/chef\/client.pem on frontend<br \/>\n    - create client frontend at clients<br \/>\n...<br \/>\n    - write file \/etc\/chef\/client.rb on frontend<br \/>\n    - write file \/tmp\/chef-install.sh on frontend<br \/>\n    - run 'bash -c ' bash \/tmp\/chef-install.sh'' on frontend<br \/>\n    [frontend] Starting Chef Client, version 12.2.1<br \/>\n               resolving cookbooks for run list: [\"chef-server::frontend\"]<br \/>\n               Synchronizing Cookbooks:<br \/>\n                 - chef-server<br \/>\n               Compiling Cookbooks...<br \/>\n               Converging 7 resources<br \/>\n               Recipe: chef-server::frontend<br \/>\n...<br \/>\n               Chef Client finished, 9\/9 resources updated in 452.535276199 seconds<br \/>\n    - run 'chef-client -l auto' on frontend<br \/>\nRunning handlers:<br \/>\nRunning handlers complete<br \/>\nChef Client finished, 27\/33 resources updated in 987.188083 seconds<br \/>\n<\/code><\/p>\n<p>\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u5b8c\u4e86\u5f8c\u30d6\u30e9\u30a6\u30b6\u304b\u3089frontend\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068Manege UI\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n<a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-9618\" alt=\"Screen Shot 2015-04-24 at 16.43.46\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png\" width=\"775\" height=\"382\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png 1107w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46-192x95.png 192w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46-1024x505.png 1024w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/a><\/p>\n<p>\u3061\u306a\u307f\u306bbackend\u306b\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4ee5\u4e0b\u753b\u9762\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n<a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.44.14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-9619\" alt=\"Screen Shot 2015-04-24 at 16.44.14\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.44.14.png\" width=\"736\" height=\"273\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.44.14.png 1052w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.44.14-225x83.png 225w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.44.14-1024x379.png 1024w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/a><\/p>\n<p>\u9006\u306bbackend\u306echef-server\u30d7\u30ed\u30bb\u30b9\u3092\u505c\u6b62\u3057\u305f\u4e0a\u3067frontend\u306b\u518d\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4ee5\u4e0b\u753b\u9762\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n<a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.47.16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-9620\" alt=\"Screen Shot 2015-04-24 at 16.47.16\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.47.16.png\" width=\"770\" height=\"517\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.47.16.png 1100w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.47.16-141x95.png 141w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.47.16-1024x687.png 1024w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/a><br \/>\nTier\u69cb\u6210\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>chef-provisioning\u3067Node\u9593\u306e\u95a2\u9023\u3092\u610f\u8b58\u3057\u305f\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u5229\u7528\u3057\u3066\u3044\u307e\u305b\u3093\u304c<strong>machine_batch<\/strong>\u30ea\u30bd\u30fc\u30b9\u3067\u30d1\u30e9\u30ec\u30eb\u51e6\u7406\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u307e\u305f\u3001chef-client\u306e\u30ed\u30fc\u30ab\u30eb\u30e2\u30fc\u30c9\u306f\u901a\u5e38\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u6301\u3059\u308bRecipe\u3092Node\u81ea\u8eab\u304c\u9069\u7528\u3059\u308b\u52d5\u4f5c\u3068\u306a\u308a\u307e\u3059\u304c\u3001chef-provisioning\u3092\u7528\u3044\u308c\u3070\u3001Workstation\u306echef-zero\u304b\u3089Node\u306bRecipe\u3092\u9069\u7528\u53ef\u80fd\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/github.com\/chef\/chef-provisioning-vagrant\">chef-provisioning-vagrant<\/a>\u3092\u59cb\u3081\u3068\u3059\u308b\u5404\u7a2eDriver\u3082\u3042\u308a\u307e\u3059\u304c\u3001chef-provisioning-ssh\u306e\u5834\u5408\u306f\u3001Instance\u3084Server\u304c\u65e2\u306b\u5b58\u5728\u3057SSH\u306b\u5fc5\u8981\u306a\u60c5\u5831\u3055\u3048\u3042\u308c\u3070\u3001\u5404\u7a2eDriver\u306e\u4ee3\u66ff\u3068\u3082\u306a\u308a\u5f97\u307e\u3059\u3002\u3053\u308c\u3092\u6a5f\u306b\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002 \u4eca\u56de\u306fchef-provisioning\u3068chef-provisioning-ssh\u3092\u7528\u3044\u3066\u3001Tier\u69cb\u6210\u306eChef Serv [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":9618,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-9406","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>chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef |\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\" \/>\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\/9406\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef |\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/9406\" \/>\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=\"2015-04-24T08:30:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-02T08:59:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1107\" \/>\n\t<meta property=\"og:image:height\" content=\"546\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\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=\"admin\" \/>\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\\\/9406#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"headline\":\"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef\",\"datePublished\":\"2015-04-24T08:30:18+00:00\",\"dateModified\":\"2015-06-02T08:59:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406\"},\"wordCount\":104,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/Screen-Shot-2015-04-24-at-16.43.46.png\",\"articleSection\":[\"Chef\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406\",\"name\":\"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef - 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\\\/9406#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/Screen-Shot-2015-04-24-at-16.43.46.png\",\"datePublished\":\"2015-04-24T08:30:18+00:00\",\"dateModified\":\"2015-06-02T08:59:08+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"description\":\"Chef |\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/Screen-Shot-2015-04-24-at-16.43.46.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/04\\\/Screen-Shot-2015-04-24-at-16.43.46.png\",\"width\":1107,\"height\":546},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/9406#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\":\"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7d923d1c017568a1a5e66d7bb1c8764a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef |\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002","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\/9406","og_locale":"ja_JP","og_type":"article","og_title":"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef |\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002","og_url":"https:\/\/www.creationline.com\/tech-blog\/9406","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":"2015-04-24T08:30:18+00:00","article_modified_time":"2015-06-02T08:59:08+00:00","og_image":[{"width":1107,"height":546,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\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\/9406#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/9406"},"author":{"name":"admin","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"headline":"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef","datePublished":"2015-04-24T08:30:18+00:00","dateModified":"2015-06-02T08:59:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/9406"},"wordCount":104,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/9406#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png","articleSection":["Chef"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/9406","url":"https:\/\/www.creationline.com\/tech-blog\/9406","name":"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef - 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\/9406#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/9406#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png","datePublished":"2015-04-24T08:30:18+00:00","dateModified":"2015-06-02T08:59:08+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"description":"Chef |\u524d\u56de\u306fStandalone\u69cb\u6210\u3067Chef Server\u3092\u69cb\u7bc9\u3059\u308bRecipe\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/9406#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/9406"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/9406#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-24-at-16.43.46.png","width":1107,"height":546},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/9406#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":"chef-provisioning\u3068chef-provisioning-ssh\u3067\u304a\u624b\u8efd\u30af\u30e9\u30b9\u30bf\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0 #getchef"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a","name":"admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"admin"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/9406","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=9406"}],"version-history":[{"count":0,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/9406\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/9618"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=9406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=9406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=9406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}