{"id":12161,"date":"2015-12-15T11:30:17","date_gmt":"2015-12-15T02:30:17","guid":{"rendered":"http:\/\/www.creationline.com\/?p=12161"},"modified":"2023-08-29T14:22:43","modified_gmt":"2023-08-29T05:22:43","slug":"test-kitchen-%e3%81%ae-shell-verifier-%e3%81%a7-serverspec-%e3%81%ab%e3%82%88%e3%82%8b-cookbook-%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e8%a1%8c%e3%81%86-getchef-serverspec","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161","title":{"rendered":"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec"},"content":{"rendered":"<p>2015\u5e7412\u6708\u73fe\u5728\u3001<a href=\"http:\/\/kitchen.ci\/\">Test Kitchen<\/a> \u3067 <a href=\"https:\/\/docs.chef.io\/cookbooks.html\">Chef Cookbook<\/a> \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f <a href=\"https:\/\/github.com\/test-kitchen\/busser-serverspec\">busser-serverspec<\/a> \u3092\u5a92\u4ecb\u3068\u3057\u305f <a href=\"http:\/\/serverspec.org\/\">Serverspec<\/a> \u304c\u30c7\u30d5\u30a1\u30af\u30c8\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u3068\u306a\u3063\u3066\u3044\u307e\u3059(<a href=\"https:\/\/rubygems.org\/search?utf8=%E2%9C%93&amp;query=busser-\">RubyGems.org \u8abf\u3079<\/a>: busser-serverspec:132\u4e07DL, <a href=\"https:\/\/github.com\/test-kitchen\/busser-bats\">busser-bats<\/a>:28\u4e07DL, <a href=\"https:\/\/github.com\/test-kitchen\/busser-rspec\">busser-rspec<\/a>:7\u4e07DL)\u3002<\/p>\n<p>\u672c\u7a3f\u3067\u306f\u3001Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046\u305f\u3081\u306e\u5a92\u4ecb\u3068\u3057\u3066\u5f93\u6765\u306e <a href=\"https:\/\/github.com\/test-kitchen\/busser\">busser<\/a> \u6a5f\u69cb\u306e\u4ee3\u308f\u308a\u306b\u30012015\u5e747\u6708\u306b\u516c\u958b\u3055\u308c\u305f <a href=\"https:\/\/github.com\/higanworks\/kitchen-verifier-shell\">Shell Verifier<\/a> (2015\u5e7412\u6708\u306b Test Kitchen \u672c\u4f53\u306b<a href=\"https:\/\/github.com\/test-kitchen\/test-kitchen\/pull\/741\">\u30de\u30fc\u30b8<\/a>)\u3092\u7528\u3044\u308b\u65b9\u6cd5\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>busser \u306e\u304a\u3055\u3089\u3044<\/h2>\n<p>Test Kitchen + busser + busser-serverspec + Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u306e\u6319\u52d5\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><!-- busser.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12162\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png\" alt=\"busser\" width=\"476\" height=\"293\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png 476w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser-360x222.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser-154x95.png 154w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/a><\/p>\n<p>\u3053\u306e\u4f8b\u3067\u306f Kitchen Driver \u306b <a href=\"https:\/\/www.vagrantup.com\/\">Vagrant<\/a> (<a href=\"https:\/\/www.virtualbox.org\/\">VirtualBox<\/a>)\u3001Kitchen Provisioner \u306b <a href=\"https:\/\/docs.chef.io\/chef_solo.html\">chef-solo<\/a> \u3092\u4f7f\u3046\u3068\u3057\u307e\u3059\u3002\u4ed6\u306e Driver \u3084 Provisioner \u3067\u3082\u5909\u308f\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3002\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306f Serverspec \u3067\u4f5c\u3063\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Test Kitchen \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Vagrant (VirtualBox) \u3092\u7528\u3044\u3066\u3001Cookbook \u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306e Chef Node \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u3061\u3089\u306b Cookbook \u3092\u8ee2\u9001\u3057\u3001Chef-Solo \u3067 Node \u306b\u9069\u7528\u30fb\u53ce\u675f\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u53ce\u675f\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001Test Kitchen \u306f <strong>RubyGems.org \u304b\u3089<\/strong> busser gem \u306a\u3069\u3092 Chef Node \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f busser \u306f\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c Serverspec \u3067\u4f5c\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u5224\u5225\u3057\u3001<strong>RubyGems.org \u304b\u3089<\/strong> busser-serverspec gem \u3092 Chef Node \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Test Kitchen \u306f Chef Node \u306b\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001busser-serverspec \u306f <strong>localhost \u3059\u306a\u308f\u3061 Chef Node \u306b\u5bfe\u3057\u3066<\/strong> Serverspec \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001Serverspec \u306b\u3088\u308b Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>busser \u6a5f\u69cb\u306b\u3088\u308b\u30c6\u30b9\u30c8\u306e\u554f\u984c\u70b9\u3068\u3057\u3066\u3001\u6b21\u304c\u6319\u3052\u3089\u308c\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>busser \u3084 busser-serverspec \u3092\u6bce\u56de Chef Node \u306b RubyGems.org \u304b\u3089\u53d6\u5f97\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u6642\u9593\u304c\u304b\u304b\u308b\u3001\u3042\u308b\u3044\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u758e\u901a\u3092\u6c17\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n<li>\u30c6\u30b9\u30c8\u3092 busser \u4e0b\u3068\u3044\u3046\u7279\u6b8a\u306a\u72b6\u6cc1\u3067\u5b9f\u884c\u3059\u308b\u305f\u3081\u3001\u30d0\u30b0\u304b\u4ed5\u69d8\u304b\u308f\u304b\u3089\u306a\u3044\u73fe\u8c61\u306b\u60a9\u307e\u3055\u308c\u308b(<a href=\"https:\/\/github.com\/test-kitchen\/busser-serverspec\/issues\">issues<\/a>)\u3002\u307e\u305f\u306f\u64cd\u4f5c\u306b\u81ea\u7531\u304c\u52b9\u304b\u306a\u3044(<a href=\"https:\/\/github.com\/test-kitchen\/busser-serverspec\/pulls\">Pull Requests<\/a>)\u3002<\/li>\n<\/ul>\n<p>busser \u306f\u3001\u3082\u3068\u3082\u3068\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u80fd\u3092\u6301\u305f\u306a\u3044\u3088\u3046\u306a\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u3067\u3082 Cookbook \u306e\u30c6\u30b9\u30c8\u304c\u884c\u3048\u308b\u3088\u3046\u306b\u3001Chef Node \u5185\u306b\u9694\u96e2\u74b0\u5883\u3092\u4f5c\u3063\u3066\u30c6\u30b9\u30c8\u3092\u884c\u3046\u4ed5\u7d44\u307f\u306a\u306e\u3067\u3001\u3042\u308b\u610f\u5473\u4ed5\u65b9\u306e\u306a\u3044\u9762\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4e00\u65b9\u3001Serverspec \u306f SSH \u3092\u306f\u3058\u3081\u3068\u3057\u3066\u3055\u307e\u3056\u307e\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u308b\u305f\u3081\u3001\u30db\u30b9\u30c8\u5074\u3067 Serverspec \u3092\u5b9f\u884c\u3057\u3066\u3084\u308c\u3070\u3001busser \u3092\u4ef2\u4ecb\u5f79\u306b\u7f6e\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u306e\u304c Shell Verifier \u3067\u3059\u3002<\/p>\n<h2>Shell Verifier \u3068\u306f<\/h2>\n<p>Test Kitchen + Shell Verifier + Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u306e\u6319\u52d5\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Verifier \u3068\u306f <a href=\"http:\/\/kitchen.ci\/blog\/test-kitchen-1-4-0-release-notes\/\">Test Kitchen 1.4.0<\/a> \u3067\u5c0e\u5165\u3055\u308c\u305f\u4ed5\u7d44\u307f\u3067\u3001Cookbook \u306e Verify \u30b9\u30c6\u30c3\u30d7\u3092\u884c\u3046\u90e8\u4f4d\u3092\u30d7\u30e9\u30ac\u30d6\u30eb\u306b\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u5b9f\u306f busser \u3082\u3053\u306e Verifier \u304b\u3089\u547c\u3073\u51fa\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!-- verifier.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/verifier.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12163\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/verifier.png\" alt=\"verifier\" width=\"363\" height=\"276\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/verifier.png 363w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/verifier-125x95.png 125w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/a><\/p>\n<p>\u3053\u306e\u4f8b\u3067\u3082\u540c\u69d8\u306b\u3001Kitchen Driver \u306b <a href=\"https:\/\/www.vagrantup.com\/\">Vagrant<\/a> (<a href=\"https:\/\/www.virtualbox.org\/\">VirtualBox<\/a>)\u3001Kitchen Provisioner \u306b <a href=\"https:\/\/docs.chef.io\/chef_solo.html\">chef-solo<\/a> \u3092\u4f7f\u3046\u3068\u3057\u307e\u3059\u3002\u4ed6\u306e Driver \u3084 Provisioner \u3067\u3082\u5909\u308f\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3002\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306f Serverspec \u3067\u4f5c\u3063\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u3082\u3084\u306f\u308a Test Kitchen \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Vagrant (VirtualBox) \u3092\u7528\u3044\u3066\u3001Cookbook \u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306e Chef Node \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u3061\u3089\u306b Cookbook \u3092\u8ee2\u9001\u3057\u3001Chef-Solo \u3067 Node \u306b\u9069\u7528\u30fb\u53ce\u675f\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u53ce\u675f\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001Test Kitchen \u306f .kitchen.yml \u306b\u3066 Shell Verifier \u3068\u3057\u3066\u6307\u5b9a\u3057\u305f\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f Serverspec (rspec) \u3092\u5b9f\u884c\u3057\u305f\u3068\u3057\u307e\u3057\u3087\u3046\u3002Serverspec \u306f Chef Node \u306b\u5bfe\u3057\u3066 SSH \u63a5\u7d9a\u3001<strong>\u3059\u306a\u308f\u3061\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u306b\u5bfe\u3057\u3066<\/strong>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u3060\u3068\u3001\u53ce\u675f\u3057\u305f Chef Node \u306f(Cookbook \u30c6\u30b9\u30c8\u304c\u7d42\u308f\u308c\u3070\u7834\u68c4\u3059\u308b\u3068\u306f\u3044\u3048)\u30af\u30ea\u30fc\u30f3\u306a\u72b6\u614b\u306b\u7f6e\u304b\u308c\u3001\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u5074\u306f\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3067\u3042\u308d\u3046 Serverspec \u3092 Cookbook \u30c6\u30b9\u30c8\u306e\u305f\u3073\u306b\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046\u306a\u3089\u3070\u3001busser + busser-serverspec \u306b\u6bd4\u3079\u3066\u3001Shell Verifier \u304c\u3044\u304b\u306b\u5358\u7d14\u306b\u884c\u3048\u308b\u304b\u304c\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>Shell Verifier \u3067\u5b9f\u969b\u306b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046<\/h2>\n<p>\u3067\u306f\u5b9f\u969b\u306b Shell Verifier \u3092\u4f7f\u3063\u305f\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3059\u3002Cookbook \u306f <a href=\"https:\/\/github.com\/cl-lab-k\/apache2-take\/tree\/shell_verifier\">\u3053\u3061\u3089<\/a> \u3067\u3059\u3002\u30c6\u30b9\u30c8\u306e\u524d\u306b\u3001Shell Verifier \u306b\u5177\u4f53\u7684\u306a\u90e8\u4f4d\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/cl-lab-k\/apache2-take\/blob\/shell_verifier\/.kitchen.yml#L18-L20\">.kitchen.yml<\/a>:<br \/>\n<code lang=\"ruby\"><br \/>\nverifier:<br \/>\nname: shell<br \/>\ncommand: rspec -c -f d -I serverspec serverspec\/apache2-take_spec.rb<br \/>\n<\/code><\/p>\n<p>Verify \u30b9\u30c6\u30c3\u30d7\u3067 Shell Verifier \u3092\u4f7f\u3044\u3001\u3069\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u304b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/cl-lab-k\/apache2-take\/blob\/shell_verifier\/serverspec\/apache2-take_spec.rb\">serverspec\/apache2-take_spec.rb<\/a>:<\/p>\n<p><code lang=\"ruby\"><br \/>\nrequire 'spec_helper'<\/code><\/p>\n<p><code lang=\"ruby\"><br \/>\n<\/code><\/p>\n<p><code lang=\"ruby\">%w{ apache2 git-core curl unzip }.each do |i|<br \/>\ndescribe package( i ) do<br \/>\nit { should be_installed }<br \/>\nend<br \/>\nend<br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\n<\/code><\/p>\n<p>\u4f55\u306e\u5909\u54f2\u3082\u306a\u3044 Serverspec \u306e\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3067\u3059\u3002busser \u3067\u4f7f\u3063\u3066\u3044\u308b\u3082\u306e\u3068\u9055\u3044\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u6d41\u7528\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/cl-lab-k\/apache2-take\/blob\/shell_verifier\/serverspec\/spec_helper.rb\">serverspec\/spec_helper.rb<\/a>:<\/p>\n<p><code lang=\"ruby\"><br \/>\nrequire 'serverspec'<\/code><\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>set :backend, :ssh<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>options = Net::SSH::Config.for(host)<br \/>\noptions<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f Serverspec \u304c\u30c7\u30d5\u30a1\u30af\u30c8\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u3068\u306a\u3063\u3066\u3044\u307e\u3059(Ruby [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":12162,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36,31],"tags":[],"class_list":["post-12161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef","category-higuchi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef, d-higuchi |2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f\" \/>\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\/12161\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef, d-higuchi |2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161\" \/>\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-12-15T02:30:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T05:22:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png\" \/>\n\t<meta property=\"og:image:width\" content=\"476\" \/>\n\t<meta property=\"og:image:height\" content=\"293\" \/>\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=\"1\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\\\/12161#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec\",\"datePublished\":\"2015-12-15T02:30:17+00:00\",\"dateModified\":\"2023-08-29T05:22:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161\"},\"wordCount\":196,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/busser.png\",\"articleSection\":[\"Chef\",\"d-higuchi\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161\",\"name\":\"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec - 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\\\/cloudnative\\\/chef\\\/12161#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/busser.png\",\"datePublished\":\"2015-12-15T02:30:17+00:00\",\"dateModified\":\"2023-08-29T05:22:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef, d-higuchi |2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/busser.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/12\\\/busser.png\",\"width\":476,\"height\":293},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/12161#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\":\"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef, d-higuchi |2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f","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\/12161","og_locale":"ja_JP","og_type":"article","og_title":"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef, d-higuchi |2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161","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-12-15T02:30:17+00:00","article_modified_time":"2023-08-29T05:22:43+00:00","og_image":[{"width":476,"height":293,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.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":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec","datePublished":"2015-12-15T02:30:17+00:00","dateModified":"2023-08-29T05:22:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161"},"wordCount":196,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png","articleSection":["Chef","d-higuchi"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161","name":"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec - 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\/cloudnative\/chef\/12161#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png","datePublished":"2015-12-15T02:30:17+00:00","dateModified":"2023-08-29T05:22:43+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef, d-higuchi |2015\u5e7412\u6708\u73fe\u5728\u3001Test Kitchen \u3067 Chef Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306e\u306f busser-serverspec \u3092\u5a92\u4ecb\u3068\u3057\u305f","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/12\/busser.png","width":476,"height":293},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/12161#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":"Test Kitchen \u306e Shell Verifier \u3067 Serverspec \u306b\u3088\u308b Cookbook \u30c6\u30b9\u30c8\u3092\u884c\u3046 #getchef #serverspec"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/12161","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=12161"}],"version-history":[{"count":4,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/12161\/revisions"}],"predecessor-version":[{"id":65799,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/12161\/revisions\/65799"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/12162"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=12161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=12161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=12161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}