{"id":11557,"date":"2016-02-22T15:00:23","date_gmt":"2016-02-22T06:00:23","guid":{"rendered":"http:\/\/www.creationline.com\/?p=11557"},"modified":"2016-02-20T13:16:51","modified_gmt":"2016-02-20T04:16:51","slug":"%e5%92%8c%e8%a8%b3-test-kitchen-%e9%96%8b%e7%99%ba%e3%81%ae%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%83%90%e3%83%83%e3%82%af%e5%b7%a5%e5%a0%b4-getchef","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/11557","title":{"rendered":"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef"},"content":{"rendered":"<p>\u672c\u7a3f\u306f <a href=\"https:\/\/www.chef.io\/blog\/2015\/09\/10\/test-kitchen-your-development-feedback-factory\/\">Test Kitchen: Your Development Feedback Factory<\/a> (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.chef.io\/kitchen.html\">Test Kitchen<\/a> \u306f\u3055\u307e\u3056\u307e\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u4e0a\u3067 Cookbook \u306e\u30c6\u30b9\u30c8\u3092\u7c21\u5358\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002Test Kitchen \u3092\u4f7f\u3046\u3068\u3001\u30c6\u30b9\u30c8\u7528 Node \u3092\u7d20\u65e9\u304f\u4f5c\u6210\u3057\u3001\u53ce\u675f\u3057\u3001\u3055\u307e\u3056\u307e\u306a\u72b6\u614b\u3092\u691c\u8a3c\u3059\u308b\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e webcast \u306e\u9332\u753b\u3067\u306f\u3001Chef \u793e\u306e\u30a8\u30f3\u30b8\u30cb\u30a2 Fletcher Nichol \u304c\u81ea\u4fe1\u3092\u6301\u3063\u3066 Chef Cookbook \u3092\u66f8\u3044\u3066\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3059\u308b\u305f\u3081\u306b\u3069\u306e\u3088\u3046\u306b Test Kitchen \u3092\u4f7f\u3046\u304b\u306e\u8aac\u660e\u3092\u3057\u3066\u3044\u307e\u3059\u3002Fletcher \u306f\u6b21\u306e\u3053\u3068\u3092\u5171\u6709\u3057\u307e\u3057\u305f:<\/p>\n<ul>\n<li>\u3069\u306e\u3088\u3046\u306b Workstation \u3092\u8a2d\u5b9a\u3059\u308b\u304b<\/li>\n<li>\u3069\u306e\u3088\u3046\u306b\u5bfe\u8c61\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u52d5\u4f5c\u3059\u308b\u65b0\u3057\u3044 Cookbook \u3092\u4f5c\u6210\u3059\u308b\u304b<\/li>\n<li>\u3069\u306e\u3088\u3046\u306b\u65b0\u3057\u3044 OS \u3068 Chef Client \u306e\u30ea\u30ea\u30fc\u30b9\u3092\u53d6\u308a\u6271\u3046\u304b<\/li>\n<li>\u3069\u306e\u3088\u3046\u306b Windows \u306e\u4e16\u754c\u3067\u904a\u3076\u304b<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" style=\"overflow: hidden;\" src=\"https:\/\/www.brighttalk.com\/clients\/js\/embed\/embed_frame.html?channelid=11349&amp;communicationid=167803&amp;player=channel_player&amp;theme=chef.swf\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" frameborder=\"0\" height=\"660\" width=\"705\"><br \/>\n<\/iframe><\/p>\n<p>\u30e9\u30a4\u30d6\u4e2d\u306b\u7b54\u3048\u308b\u6642\u9593\u304c\u306a\u304b\u3063\u305f\u8cea\u554f\u3092\u542b\u3080 Q&amp;A \u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<h2>\u30e9\u30a4\u30d6 webinar \u304b\u3089\u306e Q&amp;A<\/h2>\n<h3>Q: Test Kitchen \u306f\u3001Cookbook \u3092 Chef Server \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u6307\u5b9a\u306e Node \u3067 Chef Client \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3068\u3001\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u6bd4\u8f03\u3059\u308b\u3068\u3001\u3069\u306e\u3088\u3046\u306b\u9055\u3046\u306e\u3067\u3059\u304b\uff1f \u8a00\u3044\u63db\u3048\u308b\u3068\u3001Test Kitchen \u306e\u6069\u6075\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: Test Kitchen \u306b\u304a\u3044\u3066\u3001\u3067\u304d\u308b\u9650\u308a\u76f4\u63a5\u304b\u3064\u30a8\u30e9\u30fc\u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306e\u958b\u767a\u3092\u884c\u3048\u308b\u3088\u3046\u306b\u52aa\u3081\u3066\u304d\u307e\u3057\u305f\u3002\u66f4\u65b0\u3057\u305f Cookbook \u3092 Chef Server \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u5fd8\u308c\u305f\u3068\u6c17\u304c\u3064\u304f\u524d\u306b\u3001Cookbook \u306e\u554f\u984c\u3092\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u306e\u306b\u8cb4\u91cd\u306a\u6642\u9593\u3092\u4f55\u5206\u3001\u4f55\u6642\u9593\u3082\u8cbb\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u3053\u3053\u3067\u306e\u8003\u3048\u65b9\u306f\u3001\u30a8\u30c7\u30a3\u30bf\u4e2d\u306e\u30b3\u30fc\u30c9\u3092\u4fdd\u5b58\u3057\u3066 <strong>kitchen converge \u2026<\/strong> \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3092\u3067\u304d\u308b\u9650\u308a\u65e9\u304f\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u304c\u7b2c\u4e00\u306e\u5229\u70b9\u3060\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>Q: Test Kitchen \u304c Cookbook \u3068\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092 Chef Server \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u63d0\u4f9b\u3059\u308b\u4e88\u5b9a\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u5b9f\u969b\u306e Chef Server \u306b Cookbook \u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u306b\u306f\u3001<strong>chef_client<\/strong> Test Kitchen \u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059(<strong>chef_solo<\/strong> \u3068 <strong>chef_zero<\/strong> \u3068\u3044\u3046\u4f3c\u305f\u30d7\u30ed\u30d3\u30b8\u30e7\u30ca\u304c\u65e2\u306b\u3042\u308a\u307e\u3059)\u3002\u3057\u304b\u3057\u3001\u3042\u306a\u305f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067 Berksfile \u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001Test Kitchen \u306f\u30ea\u30e2\u30fc\u30c8\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b Cookbook \u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u524d\u306b\u3001\u672c\u8cea\u7684\u306b <strong>berks vendor --path [TMP_PATH]<\/strong> \u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u306e Chef Server \u306b Cookbook \u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u9069\u7528\u3059\u308b\u4f3c\u305f\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002<strong>kitchen converge<\/strong> \u30d7\u30ed\u30bb\u30b9\u306f <strong>Berksfile.lock<\/strong> \u3092\u3068\u306b\u304b\u304f\u751f\u6210\u3057\u3088\u3046\u3068\u3059\u308b\u306e\u3067\u3001<strong>berks upload<\/strong> \u3068 <strong>berks apply [ENVIRONMENT]<\/strong> \u304c\u52d5\u4f5c\u3059\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h3>Q: EC2 \u30c9\u30e9\u30a4\u30d0\u306b\u3064\u3044\u3066\u8cea\u554f\u304c\u3042\u308a\u307e\u3059\u3002\u4f5c\u6210\u3057\u3088\u3046\u3068\u3059\u308b\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u6709\u52b9\u306b\u3059\u308b\u306e\u306b\u3001Cookbook \u306e\u3069\u3053\u304b\u306b AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u306e Credential \u3092\u63d0\u4f9b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u306f\u3044\u3002\u30c9\u30e9\u30a4\u30d0\u540d\u3092\u300c<strong>ec2<\/strong>\u300d\u306b\u5909\u66f4\u3059\u308b\u3068\u304d\u3001\u3042\u3089\u3086\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u305f\u3081\u306b\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u5b9f\u884c\u3059\u308b\u30e6\u30fc\u30b6\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u63d0\u4f9b\u3059\u308b <strong>$HOME\/.kitchen\/config.yml<\/strong> \u3068\u3044\u3046\u30b0\u30ed\u30fc\u30d0\u30eb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c Workstation \u306b\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306a\u5185\u5bb9\u306b\u306a\u3063\u3066\u3044\u307e\u3059:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\n name: ec2<br \/>\n region: us-west-2<br \/>\n instance_type: m4.large<br \/>\n iam_profile_name: fnichol-provisioning<br \/>\n aws_ssh_key_id: fnichol-aws-ssh-key<br \/>\n tags:<br \/>\n x-project: test-driven-infrastructure<br \/>\n x-sub-project: feedback-factory<br \/>\n created-by: test-kitchen<\/p>\n<p>transport:<br \/>\n ssh_key: \/Users\/fnichol\/.ssh\/id_rsa-aws<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u306f AMI \u3092\u53d6\u5f97\u3059\u308b\u306e\u306b\u5341\u5206\u306a\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u63d0\u4f9b\u3057\u3001\u3053\u306e webinar \u3067\u306e\u4ed6\u306e credential \u3092\u7121\u8996\u3057\u307e\u3059\u3002\u3067\u304d\u308c\u3070\u4ed6\u306e\u7a7a\u6b04\u3092\u57cb\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ed6\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f\u3001\u8a2d\u5b9a Attribute \u304c\u66f8\u304b\u308c\u3066\u3044\u308b <a href=\"https:\/\/github.com\/test-kitchen\/kitchen-ec2\/blob\/master\/README.md\">kitchen-ec2 README<\/a> \u3092\u53c2\u7167\u3059\u308b\u4fa1\u5024\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>Q: \u5358\u4e00\u306e .kitchen.yml \u30d5\u30a1\u30a4\u30eb\u5185\u3067\u8907\u6570\u306e\u30c9\u30e9\u30a4\u30d0\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u3082\u3061\u308d\u3093\u3067\u304d\u307e\u3059\uff01 (\u3059\u3079\u3066\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u30b9\u30a4\u30fc\u30c8\u3092\u4e00\u7dd2\u306b\u3057\u3066\u4f5c\u6210\u3055\u308c\u305f)\u305d\u308c\u305e\u308c\u3001\u3059\u3079\u3066\u306e Test Kitchen \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u3001\u500b\u5225\u306e Driver\u3001Provisioner\u3001Verifier \u306a\u3069\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u8208\u5473\u6df1\u3044\u7d44\u307f\u5408\u308f\u305b\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\n name: vagrant # \u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8<\/p>\n<p>platforms:<br \/>\n - name: ubuntu-15.04<br \/>\n - name: centos-7.1<br \/>\n - name: amazon-2015.03<\/p>\n<p> driver:<br \/>\n name: ec2 # AWS \u306e\u307f\u3067\u6709\u52b9<br \/>\n image_id: ami-XXXXX<br \/>\n - name: windows-8.1<\/p>\n<p> driver:<br \/>\n name: hyperv # Windows \u306a\u3089\u3001\u7d44\u307f\u8fbc\u307f\u30cf\u30a4\u30d1\u30fc\u30d0\u30a4\u30b6\u3092\u5229\u7528\uff01<\/p>\n<p>suites:<br \/>\n - name: client<br \/>\n provisioner:<br \/>\n run_list: recipe[foo::client_only]<br \/>\n - name: server<br \/>\n provisioner:<br \/>\n run_list: recipe[foo]<br \/>\n<\/code><\/p>\n<h3>Q: CI \u30b5\u30fc\u30d0\u3067 Test Kitchen \u3092\u898b\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304b\uff1f \u5b9f\u88c5\u306e\u3088\u3044\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u306f\u3044\u3002CI \u74b0\u5883\u3067 Test Kitchen \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u4eba\u304c\u3044\u307e\u3059\u3002\u4fa1\u5024\u3092\u63d0\u4f9b\u3059\u308b\u4e00\u9023\u306e\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u304c\u6b21\u306e\u8ad6\u7406\u7684\u306a\u624b\u9806\u3068\u306a\u308b\u3067\u3057\u3087\u3046\u3002\u3082\u3063\u3068\u3082\u5358\u7d14\u306a\u624b\u9806\u306f\u3001CI \u30bf\u30b9\u30af\u3068\u3057\u3066 <strong>kitchen test --destroy=always<\/strong> \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3059\u3002<strong>--concurrency<\/strong> \u30d5\u30e9\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u3088\u308a\u9ad8\u901f\u5316\u3067\u304d\u308b\u3067\u3057\u3087\u3046(\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u76f4\u5217\u306b\u5b9f\u884c\u3057\u307e\u3059)\u3002<\/p>\n<p><a href=\"https:\/\/travis-ci.org\/poise\/poise-ruby\/jobs\/77416932\">Poise Ruby Cookbook<\/a> \u306e\u3088\u3046\u306b Docker \u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u3063\u3066 CI \u3067 Test Kitchen \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e Cookbook \u306e\u6570\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002Chef \u793e\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3082 Test Kitchen \u3092\u901a\u3057\u3066 EC2 \u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u3063\u3066 <a href=\"https:\/\/travis-ci.org\/chef\/chef\/jobs\/77551616\">\u81ea\u8eab\u306e\u30c6\u30b9\u30c8<\/a> \u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Q: \u304a\u3059\u3059\u3081\u306f .kitchen.yml \u3068 .kitchen.local.yml \u306e\u3069\u3061\u3089\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u597d\u307f\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306b\u9069\u5ea6\u306a <strong>.kitchen.yml<\/strong> \u3092\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u307e\u3059\u3002\u76f8\u68d2\u3084\u30c1\u30fc\u30e0\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306a\u3089\u3070\u5168\u4e16\u754c\u3068\u5171\u6709\u3059\u308b\u306e\u306b\u5341\u5206\u306a\u5185\u5bb9\u306b\u306a\u308a\u307e\u3059\u3002\u72ec\u81ea\u306e Credential \u3092\u30ed\u30fc\u30ab\u30eb\u306b\u4e0a\u66f8\u304d\u3057\u305f\u308a\u8ffd\u52a0\u3057\u305f\u308a\u3057\u305f\u3044\u3068\u304d\u306b <strong>.kitchen.local.yml<\/strong> \u3092\u4f7f\u3044\u307e\u3059\u3002\u305d\u308c\u3089\u3092\u8aa4\u3063\u3066 <strong>.kitchen.yml<\/strong> \u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u3066\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u3092\u9632\u3052\u307e\u3059\u3002<strong>.kitchen.local.yml<\/strong> \u306f Cookbook \u4f5c\u8005\u304c\u9078\u3093\u3060\u30c9\u30e9\u30a4\u30d0\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<a href=\"https:\/\/github.com\/test-kitchen\/kitchen-digitalocean\">Digital Ocean \u30c9\u30e9\u30a4\u30d0<\/a>\u3092\u4f7f\u3063\u3066\u3059\u3079\u3066\u3092\u30af\u30e9\u30a6\u30c9\u4e0a\u3067\u5b9f\u65bd\u3059\u308b\u3088\u308a\u3001<a href=\"https:\/\/github.com\/portertech\/kitchen-docker\">Docker \u30c9\u30e9\u30a4\u30d0<\/a>\u3067\u30c8\u30e9\u30a4\u30a2\u30f3\u30c9\u30a8\u30e9\u30fc\u3059\u308b\u307b\u3046\u304c\u3088\u3044\u3053\u3068\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>Q: Serverspec \u30c6\u30b9\u30c8\u306e\u3088\u3046\u306a\u300c\u691c\u8a3c\u300d\u3092 Test Kitchen \u3067\u884c\u3046\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u305d\u308c\u3092\u884c\u3046\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306e1\u3064\u306f\u3001ChefDK \u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<strong>generate cookbook sample<\/strong> \u3068\u3057\u3066 Cookbook \u3092\u751f\u6210\u3059\u308b\u3068\u3001<strong>default_spec.rb<\/strong> \u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3093\u3060 <strong>test\/integration\/default\/serverspec<\/strong> \u3068\u3044\u3046\u9577\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u898b\u3064\u3051\u308b\u3067\u3057\u3087\u3046\u3002<strong>test\/integration\/[\u30b9\u30a4\u30fc\u30c8\u540d]\/serverspec<\/strong> \u4ee5\u4e0b\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306f <strong>kitchen verify<\/strong> \u304c\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001Serverspec \u306e\u5b9f\u884c\u3092\u5341\u5206\u306a\u3082\u306e\u3068\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u3042\u3089\u3086\u308b\u6642\u70b9\u3067\u3001Test Kitchen \u304c\u691c\u8a3c\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u30b9\u30c6\u30c3\u30d7\u3067\u3042\u308b <strong>kitchen verify<\/strong> \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<strong>kitchen test<\/strong> \u3082\u691c\u8a3c\u3092\u884c\u3044\u307e\u3059\u304c\u3001\u6700\u521d\u306b\u30af\u30ea\u30fc\u30f3\u306a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Q: Cookbook \u3092\u66f8\u3044\u305f\u5f8c\u3067 Test Kitchen \u3092\u4f7f\u3046\u969b\u306e\u4f55\u304b\u30a2\u30c9\u30d0\u30a4\u30b9\u306f\u3042\u308a\u307e\u3059\u304b\uff1f \u5de8\u5927\u306a\u5358\u4e00\u30ec\u30dd\u30b8\u30c8\u30ea\u3084\u76f8\u4e92\u4f9d\u5b58\u306a\u3069\u306a\u3069\u3001\u30b9\u30d1\u30b2\u30c6\u30a3\u30b3\u30fc\u30c9\u304c\u3042\u308b\u3093\u3067\u3059\u3002\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u3044\u304f\u3064\u304b\u306e\u6226\u7565\u304c\u3042\u308a\u307e\u3059\u304c\u3001chef-repo \u3092\u6301\u3063\u3066\u3044\u308b\u306a\u3089(\u4f8b\u3048\u3070 <strong>cookbooks\/<\/strong> \u3084 <strong>data_bags\/<\/strong> \u306a\u3069\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6301\u3064 git \u30ec\u30dd\u3084\u30d7\u30ed\u30b8\u30a7\u30af\u30c8)\u3001\u5358\u7d14\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30eb\u30fc\u30c8\u306b <strong>.kitchen.yml<\/strong> \u3092\u914d\u7f6e\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u3082\u3057\u30eb\u30fc\u30c8\u306b Berksfile \u3084 Cheffile \u304c\u306a\u3051\u308c\u3070\u3001Test Kitchen \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 <strong>.\/cookbooks\/<\/strong> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001Role \u3084 Data Bag \u306a\u3069\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u540c\u69d8\u306b\u6271\u3044\u307e\u3059\u3002Node \u3054\u3068\u306e\u30b9\u30a4\u30fc\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u306a\u3089\u3001\u305d\u308c\u305e\u308c\u306e Run-List \u3092\u8a2d\u5b9a\u3057\u307e\u3059:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\nname: vagrant<\/p>\n<p>platforms:<br \/>\n - name: centos-7.1 # \u5358\u4e00\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u60f3\u5b9a<\/p>\n<p>suites:<br \/>\n - name: db<br \/>\n provisioner:<br \/>\n run_list:<br \/>\n - role[base]<br \/>\n - recipe[mysql::server]<br \/>\n - name: web<br \/>\n provisioner:<br \/>\n run_list:<br \/>\n - role[base]<br \/>\n - recipe[apache2]<br \/>\n<\/code><\/p>\n<p>\u526f Cookbook \u306b\u3082 <strong>.kitchen.yml<\/strong> \u3092\u914d\u7f6e\u3067\u304d\u3001\u305d\u306e Cookbook \u3092\u72ec\u7acb\u3057\u3066\u6271\u3044\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001Test Kitchen \u306f Cookbook \u306e <strong>metadata.rb<\/strong> \u30d5\u30a1\u30a4\u30eb\u3092\u4f9d\u5b58\u95a2\u4fc2\u306e\u89e3\u6c7a\u306e\u305f\u3081\u306b\u5229\u7528\u3057\u307e\u3059(\u3068\u3066\u3082\u53e4\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3060\u3068\u3001\u307b\u3068\u3093\u3069\u5217\u6319\u3055\u308c\u3066\u3044\u307e\u305b\u3093)\u3002\u3053\u306e\u70b9\u304b\u3089\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d70\u3089\u305b\u308b\u307e\u3067\u306f <strong>metadata.rb<\/strong> \u306b Cookbook \u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u30d6\u30ed\u30b0\u8a18\u4e8b\u306b\u3061\u3087\u3046\u3069\u3088\u3044\u3067\u3057\u3087\u3046----\u3064\u307e\u308a\u5358\u7d14\u3067\u306f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u305f\u3060\u3057\u3001Test Kitchen \u306f\u8a18\u8ff0\u3055\u308c\u3066\u3044\u306a\u3044\u4f9d\u5b58\u95a2\u4fc2\u3082\u3046\u307e\u3044\u3053\u3068\u691c\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h3>Q: \u30ed\u30fc\u30ab\u30eb\u306e\u30a2\u30d7\u30ea\u958b\u767a\u306e\u30c6\u30b9\u30c8\u306b\u5f79\u7acb\u3066\u308b\u306e\u306b\u3001\u76f4\u63a5 Vagrant \u3092\u4f7f\u3046\u4ee3\u308f\u308a\u306b Test Kitchen \u3092\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f Box \u3092\u53d6\u5f97\u3057\u3001\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u53d6\u5f97\u3057\u3066\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b vBox \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u5909\u6570\u3092\u6e21\u3059\u3088\u3046\u306b vagrant up \u306a\u3069\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002Test Kitchen \u3067\u3082\u540c\u3058\u3088\u3046\u306a\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u306f\u3044\u3001\u3042\u306a\u305f\u306e\u3057\u3066\u3044\u308b\u3053\u3068\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u3044\u304f\u3064\u304b\u306e Chef \u793e\u306e\u5185\u90e8\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u3063\u3066\u3044\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u3082\u3057 Vagrant \u30b7\u30b9\u30c6\u30e0\u306e\u6e96\u5099\u306b Chef \u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u65e2\u306b\u307b\u307c\u554f\u984c\u306a\u3044\u72b6\u614b\u3067\u3059\u3002\u30a2\u30d7\u30ea\u306e\u3042\u308b\u3079\u304d\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3060\u308d\u3046\u56fa\u5b9a\u5024\u306e\u8a2d\u5b9a\u3084\u74b0\u5883\u5909\u6570\u306b\u3001Chef \u306e Attribute \u3092\u4f7f\u3046\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u9ad8\u5ea6\u306a\u30c6\u30af\u30cb\u30c3\u30af: \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001Test Kitchen \u306f kitchen.yml \u3084 kitchen.local.yml \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u524d\u306b ERb \u3092\u901a\u3057\u3066\u6e21\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u6b21\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u3067\u304d\u307e\u3059:<\/p>\n<p><code lang=\"yaml\"><br \/>\ndriver:<br \/>\n  name: vagrant<\/p>\n<p>provisioner:<br \/>\n  name: chef_zero<br \/>\n  attributes:<br \/>\n    my_app:<br \/>\n      git_ref: <%= ENV.fetch(\"MY_APP_GIT_REF\", \"master\") %><br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001Git \u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u53d6\u5f97\u3059\u308b\u306e\u306b\u74b0\u5883\u5909\u6570 <strong>MY_APP_GIT_REF<\/strong> \u306e\u5024\u3092\u4f7f\u3046\u304b\u3001\u5909\u6570\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3068\u3057\u3066 <strong>master<\/strong> \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h3>Q: Test Kitchen \u306f\u958b\u767a\u3057\u3066\u3044\u308b Cookbook \u306e\u5b9f\u884c\u306e\u307f\u306b\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f \u305d\u308c\u3068\u3082\u3001\u6700\u7d42\u7684\u306b\u30ed\u30fc\u30ab\u30eb\u3067 box \u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u591a\u6570\u306e\u7570\u306a\u308b Cookbook \u3092\u53ce\u675f\u3059\u308b\u305f\u3081\u306b Test Kitchen \u3092\u4f7f\u3048\u307e\u3059\u304b\uff1f Test Kitchen \u3092\u5358\u4e00\u306e Cookbook \u3092\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306e\u307f\u4f7f\u3046\u3079\u304d\u304b\u3001\u6700\u7d42\u6210\u679c\u7269\u306e\u30b5\u30fc\u30d0\u3092\u53ce\u675f\u3055\u305b\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u591a\u6570\u306e Cookbook \u3084 Role \u3092\u4f7f\u3046\u3079\u304d\u304b\u3001\u78ba\u4fe1\u304c\u306a\u3044\u306e\u3067\u3059\u3002<\/h3>\n<p>A: \u7406\u60f3\u3067\u306f\u3001Test Kitchen \u306f\u3069\u3061\u3089\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5358\u4e00\u306e Cookbook \u3092\u52d5\u4f5c\u3055\u305b\u308b\u3068\u304d\u306f\u3001Cookbook \u3092\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e 1\u3064\u306e\u5358\u4f4d\u3068\u3057\u3066\u6271\u3063\u3066\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5b8c\u5168\u306a\u30a4\u30f3\u30d5\u30e9\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3068\u304d\u306f\u3001\u5b8c\u5168\u306a Node \u304b\u300cRole\u300d\u30ec\u30d9\u30eb\u3067\u53d6\u308a\u6271\u3044\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u9ad8\u30ec\u30d9\u30eb\u306a\u30e9\u30c3\u30d1\u30fc Cookbook \u304b\u3001\u53e4\u5178\u7684\u306a Chef Role \u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u306e 2\u3064\u306e\u65b9\u6cd5\u3067\u3001\u500b\u5225\u306e Cookbook \u3092\u3088\u308a\u7d20\u76f4(\u3064\u307e\u308a\u4ed6\u306e Cookbook \u306b\u5bfe\u3057\u3066\u9694\u96e2\u3055\u308c\u305f\u3001\u5358\u4e00\u306e\u76ee\u7684\u3067\u3001\u76f4\u884c\u3057\u305f\u72b6\u614b)\u306b\u3001\u3088\u308a\u4e21\u7acb\u3067\u304d\u3001\u4ed6\u306e\u7528\u9014\u306b\u518d\u5229\u7528\u53ef\u80fd\u306a\u5f62\u3067\u6271\u3048\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h3>Q: \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304c ChefDK \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u304b\uff1f Unix \u306a\u3089\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: 2015 \u5e74\u590f\u306e\u73fe\u5728\u3067\u306f\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u6e08\u306e ChefDK \u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>Mac OS X<\/li>\n<li>Red Hat Enterprise Linux\/CentOS<\/li>\n<li>Windows (Desktop \u3068 Server)<\/li>\n<li>Ubuntu Linux<\/li>\n<li>Debian<\/li>\n<\/ul>\n<h3>Q: \u5358\u4e00\u306e VM \u306b\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u3092\u30012\u3064\u306e VM \u306b\u30a2\u30d7\u30ea\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089 3\u3064\u306e VM \u306b Test Kitchen \u3092\u4f7f\u3048\u307e\u3059\u304b\uff1f \u3082\u3057\u4f7f\u3048\u308b\u306a\u3089\u3001.kitchen.yml \u30d5\u30a1\u30a4\u30eb\u306f\u3069\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u73fe\u6642\u70b9\u3067\u306e Test Kitchen \u306f\u30de\u30eb\u30c1\u30ce\u30fc\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u305f\u3060\u3057\u3001\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u884c\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u7570\u306a\u308b Node Role \u30bf\u30a4\u30d7\u3092\u8a18\u8ff0\u3059\u308b\u3088\u3046\u306b Suite \u3092\u4f7f\u3063\u3066 <strong>.kitchen.yml<\/strong> \u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\n  name: vagrant<\/p>\n<p>provisioner:<br \/>\n  name: chef_zero<\/p>\n<p>platforms:<br \/>\n  - name: centos-7.1<\/p>\n<p>suites:<br \/>\n  - name: db-1<br \/>\n  driver:<br \/>\n    network:<br \/>\n      - [\"private_network\", {ip: \"192.168.33.10\"}]<br \/>\n  provisioner:<br \/>\n    run_list: recipe[my_app::db_server]<br \/>\n  - name: app-1<br \/>\n  provisioner:<br \/>\n    run_list: recipe[my_app::app_server]<br \/>\n  driver:<br \/>\n    network:<br \/>\n      - [\"private_network\", {ip: \"192.168.33.11\"}]<br \/>\n  - name: app-2<br \/>\n  provisioner:<br \/>\n    run_list: recipe[my_app::app_server]<br \/>\n  driver:<br \/>\n    network:<br \/>\n      - [\"private_network\", {ip: \"192.168.33.12\"}]<br \/>\n<\/code><\/p>\n<p>\u6b21\u306e\u3088\u3046\u306a Test Kitchen \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n> kitchen list<br \/>\nInstance         Driver   Provisioner  Verifier  Transport  Last Action<br \/>\ndb-1-centos-71   Vagrant  ChefZero     Busser    Ssh        <Not Created><br \/>\napp-1-centos-71  Vagrant  ChefZero     Busser    Ssh        <Not Created><br \/>\napp-2-centos-71  Vagrant  ChefZero     Busser    Ssh        <Not Created><br \/>\n<\/code><\/p>\n<p>\u6b63\u3057\u3044\u9806\u756a\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3059\u308c\u3070\u3001\u30de\u30eb\u30c1\u30ce\u30fc\u30c9\u30c7\u30d7\u30ed\u30a4\u3068\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u307e\u3063\u305f\u304f\u7406\u60f3\u7684\u3067\u306a\u3044\u3067\u3057\u3087\u3046\u3002\u3064\u307e\u308a\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b Rakefile \u304b <strong>kitchen<\/strong> \u30b3\u30de\u30f3\u30c9\u3092\u62bd\u51fa\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308c\u3070\u3046\u307e\u304f\u3044\u304d\u307e\u3059\u3002\u3084\u308a\u304b\u305f\u306f\u3044\u308d\u3044\u308d\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>Q: \u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066 VirtualBox \u3082\u5fc5\u8981\u3067\u3059\u304b\uff1f \u4ee5\u524d\u306b Test Kitchen \u3092\u8a66\u3057\u305f\u3068\u304d\u306b\u306f\u305d\u3046\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/h3>\n<p>A: \u3082\u3057 ChefDK \u306b\u540c\u68b1\u3055\u308c\u3066\u3044\u308b Vagrant \u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u305d\u306e\u901a\u308a\u3067\u3059\u3002VirtualBox \u306f\u5fc5\u9808\u306e\u4f9d\u5b58\u95a2\u4fc2\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u79c1\u306f\u3044\u3064\u3082 VMware Fusion Vagrant \u30d7\u30ed\u30d0\u30a4\u30c0\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u6709\u6599\u30e9\u30a4\u30bb\u30f3\u30b9\u304c\u5fc5\u8981\u306a vagrant-fusion \u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3001\u3084\u306f\u308a\u6709\u6599\u30e9\u30a4\u30bb\u30f3\u30b9\u304c\u5fc5\u8981\u306a VMware Fusion \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<p>VirtualBox \u3084 Vagrant \u4ee5\u5916\u306e\u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u306e\u30c9\u30e9\u30a4\u30d0\u306f EC2\u3001Digital Ocean\u3001Rackspace \u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>Q: \u65e2\u5b58\u306e rvm \u30b7\u30b9\u30c6\u30e0\u3068\u7d71\u5408\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: Test Kitchen \u306e\u3053\u3068\u3092\u8a00\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u3067\u304d\u307e\u3059\u3002Test Kitchen \u306f RVM\u3001rbenv\u3001shrubby \u306a\u3069\u306e Ruby \u5207\u308a\u66ff\u3048\u5668\u3067\u3046\u307e\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002\u79c1\u306f Test Kitchen \u306e\u30b3\u30fc\u30c9\u958b\u767a\u3084 Cookbook \u958b\u767a\u3067\u3001Ruby \u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u3092\u623b\u3057\u305f\u308a\u9032\u3081\u305f\u308a\u3067\u304d\u308b chruby \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>ChefDK \u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u72ec\u81ea\u30d0\u30fc\u30b8\u30e7\u30f3\u306e Ruby \u3092\u542b\u3093\u3067\u3044\u3066\u3001<strong>\/usr\/bin\/kitchen<\/strong> \u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f <strong>\/opt\/chef\/embedded<\/strong> \u30d1\u30b9\u4ee5\u4e0b\u306e Ruby \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Joshua Timberman \u304c\u3001\u4e3b\u8981\u306a\u958b\u767a\u74b0\u5883\u3068\u3057\u3066 ChefDK \u306e Ruby \u3092\u3069\u306e\u3088\u3046\u306b\u4f7f\u3063\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u3088\u3044 <a href=\"http:\/\/jtimberman.housepub.org\/blog\/2014\/04\/30\/chefdk-and-ruby\/\">\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a> \u3092\u6295\u7a3f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Q: \u4e00\u5ea6\u306b 100 \u3082\u52d5\u304b\u3057\u305f\u304f\u306a\u3044\u3057\u30e1\u30e2\u30ea\u3092\u3060\u3081\u306b\u3057\u305f\u304f\u306a\u3044\u3067\u3001--concurrency=4 \u3068\u3044\u3046\u306e\u306f\u3069\u3046\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u3088\u3044\u8cea\u554f\u3067\u3059----\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f <strong>kitchen converge --concurrency<\/strong> \u306f\u4e00\u5ea6\u306b 1\u30b9\u30ec\u30c3\u30c9\u306b\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057 100 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3042\u308b\u306a\u3089\u3001\u3082\u3046\u3081\u3061\u3083\u304f\u3061\u3083\u306a\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002Vagrant \u30c9\u30e9\u30a4\u30d0\u306a\u3069\u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u30e1\u30e2\u30ea\u304c\u98df\u3044\u6f70\u3055\u308c\u3066\u3057\u307e\u3046\u3067\u3057\u3087\u3046\u3002<strong>--concurrency<\/strong> \u30d5\u30e9\u30b0\u306f\u4e26\u5217\u5b9f\u884c\u3059\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u6570\u306e\u5236\u9650\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3042\u306a\u305f\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u5408\u3063\u305f\u6307\u5b9a\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Q: metadata.rb \u306b\u4ed6\u306e Cookbook \u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u3044\u3046\u8a71\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3067\u3082\u3001Berkshelf \u3067\u540c\u3058\u3088\u3046\u306b\u5909\u66f4\u3084\u8ffd\u52a0\u3059\u308b\u8a71\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u308c\u3067\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u624b\u7d9a\u304d\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: Cookbook \u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b Berkshelf \u3092\u4f7f\u3046\u3068\u3044\u3046\u8003\u3048\u306f\u3068\u3066\u3082\u6b63\u3057\u3044\u3067\u3059\u3002<strong>chef generate cookbook<\/strong> \u3067 Cookbook \u3092\u751f\u6210\u3057\u305f\u3089\u3001\u751f\u6210\u3055\u308c\u305f Berksfile \u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nsource 'https:\/\/supermarket.chef.io'<\/p>\n<p>metadata<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u304c ChefDK \u306e <strong>chef<\/strong> \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066 Cookbook \u3092\u751f\u6210\u3059\u308b\u7406\u7531\u306e 1\u3064\u3067\u3059(\u5b9f\u306f\u4ed6\u306b\u3082\u3042\u308a\u307e\u3059\u304c)\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u958b\u767a\u306e\u521d\u671f\u6bb5\u968e\u306f\u3088\u308a\u65e9\u304f\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>Q: \u53ce\u675f\u6642\u9593\u3092\u7bc0\u7d04\u3059\u308b\u305f\u3081\u306b\u3001Test Kitchen \u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u304a\u304f\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f \u30ed\u30fc\u30ab\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u30d7\u30ed\u30ad\u30b7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3044\u304f\u3064\u304b\u306e\u30cf\u30c3\u30af\u3092 github \u3067\u898b\u304b\u3051\u305f\u304f\u3089\u3044\u3067\u3059\u3002<\/h3>\n<p>A: \u73fe\u6642\u70b9\u3067\u3001\u3055\u307e\u3056\u307e\u306a\u30c9\u30e9\u30a4\u30d0\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u3059\u3079\u3066\u3067\u78ba\u5b9f\u306a\u52d5\u4f5c\u3092\u3059\u308b\u89e3\u6c7a\u7b56\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b3\u30a2\u30c4\u30fc\u30eb\u306b\u3059\u3079\u3066\u3092\u76db\u308a\u8fbc\u3080\u306e\u306f\u6c17\u304c\u9032\u307e\u306a\u3044\u306e\u3067\u3059\u3002\u9ad8\u901f\u5316\u306e\u305f\u3081\u306b http \u30d7\u30ed\u30ad\u30b7\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6709\u52b9\u306b\u3059\u308b\u3044\u304f\u3064\u304b\u306e\u88cf\u6280\u304c\u3042\u308b\u306e\u3067(\u79c1\u81ea\u8eab\u3082 <a href=\"https:\/\/gist.github.com\/fnichol\/7551540\">gist<\/a> \u306e\u3088\u3046\u306a\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059)\u3001\u53ce\u675f\u3092\u9ad8\u901f\u5316\u3059\u308b\u65b9\u6cd5\u3092\u8abf\u67fb\u3059\u308b\u306e\u306b\u4eca\u5f8c\u3082\u3088\u308a\u591a\u304f\u306e\u6642\u9593\u3092\u4f7f\u3063\u3066\u3044\u304f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>Q: Test Kitchen \u306f Recipe \u3092 Test Kitchen \u3067\u8d70\u3089\u305b\u308b\u305f\u3081\u306e\u30d2\u30f3\u30c8(node.kitchen ?)\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u305b\u3093\u3002Test Kitchen \u3092\u30e2\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u30b5\u30fc\u30d3\u30b9\u3068\u7d44\u307f\u5408\u308f\u305b\u305f\u958b\u767a\u74b0\u5883\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: Test Kitchen \u304c\u30d2\u30f3\u30c8\u3092\u660e\u793a\u3059\u308b\u65b9\u6cd5\u304c\u306a\u3044\u3068\u3044\u3046\u306e\u306f\u6b63\u3057\u3044\u3067\u3059\u3002\u3053\u308c\u306f\u30c7\u30b6\u30a4\u30f3\u4e0a\u306e\u90fd\u5408\u3067\u3059\u3002Chef \u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u3044\u304f\u3064\u304b\u7570\u306a\u308b\u52d5\u4f5c\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3059\u308b\u65b9\u6cd5\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4f8b\u3048\u3070\u3001Test Kitchen \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5185\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u3066\u30e2\u30c3\u30af\u30a2\u30c3\u30d7\u30b5\u30fc\u30d3\u30b9\u3092\u6709\u52b9\u306b\u3057\u305f\u3044\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u3066 Chef \u306b\u76f4\u63a5\u4f1d\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\n name: vagrant<\/p>\n<p>provisioner:<br \/>\n name: chef_zero<br \/>\n attributes:<br \/>\n my_cookbook:<br \/>\n mock_services: true<\/p>\n<p> platforms:<br \/>\n - name: ubuntu-14.04<\/p>\n<p> suites:<br \/>\n - name: default<br \/>\n run_list:<br \/>\n - recipe[my_cookbook]<br \/>\n<\/code><\/p>\n<p><strong>node[\"my_cookbook\"][\"mock_services\"]<\/strong> \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3092 <strong>false<\/strong> \u304b <strong>nil<\/strong> \u306b\u8a2d\u5b9a\u3057\u3001Cookbook \u306f\u300cdefault\u300d\u304b\u300cnormal\u300d\u30e2\u30fc\u30c9\u3092\u300cmocked\u300d\u30e2\u30fc\u30c9\u306e\u9006\u3068\u3057\u3066\u53d6\u308a\u6271\u3046\u3060\u3051\u3067\u3059\u3002\u3053\u306e\u30e2\u30fc\u30c9\u306e\u53d6\u308a\u6271\u3044\u306f\u672c\u756a\u74b0\u5883\u3068\u306f\u7570\u306a\u308b\u306e\u3067\u3001Cookbook \u306f\u3061\u3087\u3063\u3068\u9055\u3063\u305f\u30b3\u30fc\u30c9\u30d1\u30b9\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Q: docker \u30d7\u30ed\u30d0\u30a4\u30c0\u306f\u72ec\u81ea\u306e docker \u5b9f\u88c5\u306b\u7d10\u4ed8\u3044\u3066\u3044\u307e\u3059\u304b\u3001\u305d\u308c\u3068\u3082\u65e2\u5b58\u306e boot2docker \u306b\u5bfe\u3059\u308b docker \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: <a href=\"https:\/\/github.com\/portertech\/kitchen-docker\">Docker \u30c9\u30e9\u30a4\u30d0<\/a> \u306f\u73fe\u6642\u70b9\u3067\u306f Workstation \u4e0a\u306e <strong>docker<\/strong> \u30d0\u30a4\u30ca\u30ea\u3092\u30b7\u30a7\u30eb\u5b9f\u884c\u3057\u3066\u3044\u3066\u3001<strong>DOCKER_HOST<\/strong> \u74b0\u5883\u5909\u6570\u3092\u5c0a\u91cd\u3057\u3066\u3044\u307e\u3059\u3002Windows \u306b\u304a\u3044\u3066\u3001\u3053\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u306e Workstation \u90e8\u5206\u3067\u306f\u3001<strong>docker-machine<\/strong> \u3092\u4f7f\u3063\u305f Docker \u30de\u30b7\u30f3\u3092 Mac \u306b\u8a2d\u5b9a\u3057\u3001Windows VM \u306b\u8a2d\u5b9a\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u3001Windows VM \u5185\u3067 Docker VM \u3092\u52d5\u4f5c\u3055\u305b\u3066\u3044\u308b\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>Q: vagrant-lxc \u30c9\u30e9\u30a4\u30d0\u306f\u4f7f\u3048\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: <a href=\"https:\/\/github.com\/test-kitchen\/kitchen-vagrant\">Vagrant \u30c9\u30e9\u30a4\u30d0<\/a> \u3092\u4f7f\u3048\u3070\u3067\u304d\u307e\u3059\u3002<strong>:provider<\/strong> \u306b\u300c<strong>lxc<\/strong>\u300d\u3092\u8a2d\u5b9a\u3059\u308b\u304b\u3001<strong>DEFAULT_VAGRANT_PROVIDER=lxc<\/strong> \u3092\u8a2d\u5b9a\u3057\u3066 <strong>:driver<\/strong> \u30d6\u30ed\u30c3\u30af\u3092\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\n name: vagrant<br \/>\n provider: lxc<br \/>\n customize:<br \/>\n container_name: mysql<br \/>\n backingstore: lvm<br \/>\n backingstore_options:<br \/>\n - [vgname, schroot]<\/p>\n<p>provisioner:<br \/>\n name: chef_zero<\/p>\n<p>platforms:<br \/>\n - ubuntu-15.04<\/p>\n<p>suites:<br \/>\n - name: default<br \/>\n<\/code><\/p>\n<h3>Q: docker \u30c9\u30e9\u30a4\u30d0\u3068\u30b5\u30fc\u30d3\u30b9\u306e\u554f\u984c\u306b\u3064\u3044\u3066\u306e\u8a71\u3067\u3001\u4fee\u6b63\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u4ef6\u306b\u3064\u3044\u3066\u77e5\u308b\u306b\u306f\u3069\u3053\u3092\u898b\u305f\u3089\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u30bf\u30a4\u30d7\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u308a\u307e\u3059\u3002\u591a\u304f\u306e Linux \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067 systemd \u306e\u63a1\u7528\u306e\u5ea6\u5408\u3044\u306b\u9055\u3044\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002pid=1 \u30d7\u30ed\u30bb\u30b9\u3068\u3057\u3066 sshd \u3092\u52d5\u4f5c\u3055\u305b\u308b\u3088\u308a init \u30b7\u30b9\u30c6\u30e0\u3092\u52d5\u4f5c\u3055\u305b\u308b\u306a\u3089\u3001<strong>:driver<\/strong> \u30d6\u30ed\u30c3\u30af\u306b <strong>run_command: \/sbin\/init<\/strong> \u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>Q: chef \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305f Cookbook \u306e\u751f\u6210\u65b9\u6cd5\u3068\u3001Berkshelf \u3067\u306e Cookbook \u306e\u751f\u6210\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u306e\u65b9\u6cd5\u304c\u304a\u52e7\u3081\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u3088\u3044\u8cea\u554f\u3067\u3059\u3002\u9078\u629e\u306f\u3042\u306a\u305f\u6b21\u7b2c\u3067\u3059\u304c\u3001\u6700\u8fd1\u306f ChefDK \u306b\u542b\u307e\u308c\u3066\u3044\u308b <strong>chef<\/strong> \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u304c\u3046\u307e\u304f\u3084\u3063\u3066\u304f\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u72ec\u81ea\u306e Cookbook \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u304c <a href=\"https:\/\/docs.chef.io\/ctl_chef.html#chef-generate-cookbook\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30b5\u30a4\u30c8<\/a> \u306b\u8f09\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Q: Test Kitchen \u3067\u306e packer \u306b\u3064\u3044\u3066\u306e\u8003\u3048\u3092\u805e\u304b\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<p>A: Packer \u306f\u3059\u3070\u3089\u3057\u3044\u3082\u306e\u3067\u3001\u8907\u6570\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u6b63\u78ba\u306b\u4f5c\u6210\u3059\u308b\u80fd\u529b\u304c\u3042\u308a\u307e\u3059\u3002\u4e8b\u5b9f\u3001kitchen-vagrant \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5229\u7528\u3059\u308b Vagrant basebox \u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e <a href=\"https:\/\/github.com\/chef\/bento\">Bento \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a> \u3067\u306f Packer \u3092\u7a4d\u6975\u7684\u306b\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Test Kitchen \u3092\u30a4\u30e1\u30fc\u30b8\u4f5c\u6210\u306b\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001Packer \u306b\u306f\u91cd\u8907\u3059\u308b\u7b87\u6240\u304c\u3042\u308a\u307e\u3059\u3002\u610f\u56f3\u3057\u3066\u3044\u306a\u304f\u3066\u3082 Test Kitchen \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d5\u30ed\u30fc\u306f\u305d\u308c\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4eca\u306e\u3068\u3053\u308d\u3001kitchen-packer \u30c9\u30e9\u30a4\u30d0\u304c\u3069\u3093\u306a\u3082\u306e\u306b\u306a\u308b\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3059 \ud83d\ude42<\/p>\n<h3>Q: .kitchen.yml \u3067\u6307\u5b9a\u3067\u304d\u308b\u3059\u3079\u3066\u306e Attribute \u306f\u3069\u3053\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u6319\u3052\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b <a href=\"http:\/\/docs.chef.io\/config_yml_kitchen.html\">Chef \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30b5\u30a4\u30c8<\/a> \u306b\u9577\u5927\u306a .kitchen.yml \u30da\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u52aa\u529b\u306b\u52a0\u3048\u3066\u3001<a href=\"http:\/\/kitchen.ci\/\">Test Kitchen \u30a6\u30a7\u30d6\u30b5\u30a4\u30c8<\/a> \u306b\u57fa\u672c\u7684\u306a .kitchen.yml \u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4e00\u65e6\u4fdd\u7559\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7d50\u5c40\u3001\u3055\u307e\u3056\u307e\u306a\u30c9\u30e9\u30a4\u30d0\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u5bfe\u3057\u3066\u5229\u7528\u53ef\u80fd\u306a Attribute \u8a2d\u5b9a\u3092\u767a\u898b\u3059\u308b\u306b\u306f\u3001<strong>kitchen diagnose<\/strong> \u3092<strong>\u3088\u304f<\/strong>\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u901a\u4f8b\u3001\u300c<strong>kitchen diagnose<\/strong> \u3067\u8868\u793a\u3055\u308c\u308b Attribute \u306f\u4e0a\u66f8\u304d\u3067\u304d\u308b\u3060\u308d\u3046\u300d\u3068\u3044\u3046\u7406\u8ad6\u304c\u9069\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Q: \u3053\u308c\u3089 3\u3064\u306e\u74b0\u5883\u3092\u8a2d\u5b9a\u3059\u308b\u624b\u9806\u3092\u5171\u6709\u3057\u3066\u304f\u308c\u307e\u3059\u304b\uff1f<\/h3>\n<p>A: \u308f\u304b\u308a\u307e\u3057\u305f\u3002GitHub \u306e <a href=\"https:\/\/github.com\/fnichol\/feedback-factory-webinar-cookbook\">fnichol\/feedback-factory-webinar-cookbook<\/a> \u306b Cookbook \u3092 push \u3057\u307e\u3057\u305f\u3002\u304a\u5f79\u306b\u7acb\u3066\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<h3>Q: \u7570\u306a\u308b Role\/Recipe \u3092\u7570\u306a\u308b Environment \u3068 Data Bag \u3092\u4f7f\u3063\u3066\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u7570\u306a\u308b VM \u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u6e80\u305f\u3059 .kitchen.yml \u306f\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: Test Kitchen \u304c <strong>roles\/<\/strong> \u3084 <strong>environments\/<\/strong> \u3068\u3044\u3063\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u3068\u304d\u306b\u306f\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u691c\u77e5\u30ed\u30b8\u30c3\u30af\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a .kitchen.yml \u3067\u300cserver\u300d\u3068\u3044\u3046\u30b9\u30a4\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3057\u3087\u3046:<\/p>\n<p><code lang=\"yaml\"><br \/>\n---<br \/>\ndriver:<br \/>\n name: vagrant<\/p>\n<p>provisioner:<br \/>\n name: chef_zero<\/p>\n<p>platforms:<br \/>\n - name: ubuntu-15.04<\/p>\n<p>suites:<br \/>\n - name: server<br \/>\n<\/code><\/p>\n<p>Role \u3092\u4f7f\u3046 Cookbook \u3092\u30c6\u30b9\u30c8\u3057\u305f\u3044\u3068\u3059\u308b\u306a\u3089\u3001Test Kitchen \u306f\u6b21\u306e\u3088\u3046\u306a\u5b58\u5728\u3057\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u307e\u305a\u4f7f\u3044\u307e\u3059:<\/p>\n<ul>\n<li>.\/test\/integration\/server\/roles<\/li>\n<li>.\/test\/integration\/roles<\/li>\n<li>.\/roles<\/li>\n<\/ul>\n<p>\u3053\u306e\u65b9\u6cd5\u3067\u3001\u5fc5\u8981\u306a\u3089\u3070\u5404\u30b9\u30a4\u30fc\u30c8\u3054\u3068\u306b\u5206\u5272\u3057\u305f Role \u3084 Environment \u306e\u8a2d\u5b9a\u304c\u884c\u3048\u307e\u3059\u3002<\/p>\n<h3>Q: VM \u3067 Windows \u3084 Red Hat OS \u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: Windows \u3084 Red Hat Enterprise Linux \u306e\u3088\u3046\u306a\u6709\u6599 OS \u3092\u5b9f\u884c\u3059\u308b\u6700\u3082\u624b\u3063\u53d6\u308a\u65e9\u3044\u65b9\u6cd5\u306f\u3001<a href=\"https:\/\/github.com\/test-kitchen\/kitchen-ec2\">EC2 \u30c9\u30e9\u30a4\u30d0<\/a> \u3084\u305d\u306e\u4ed6\u306e\u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u306e\u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u3046\u3053\u3068\u3067\u3059\u3002\u901a\u5e38\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u6599\u91d1\u5168\u984d\u3067\u306f\u306a\u304f\u3001\u6642\u9593\u5358\u4f4d\u306e\u8ab2\u91d1\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u5909\u66f4\u306e\u5fc5\u8981\u304c\u3042\u308b\u306a\u3089\u3001Chef \u793e\u306e <a href=\"https:\/\/github.com\/chef\/bento\">Bento \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a> \u3067 Vagrant base box \u306e\u69cb\u7bc9\u3092\u8a66\u3057\u3066\u307f\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002Mac OS X\u3001Suse Enterprise Linux\u3001Red Hat Enterprise Linux\u3001Solaris \u3068\u3044\u3063\u305f\u3044\u304f\u3064\u304b\u306e\u6709\u6599 OS \u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3093\u306a\u306b\u9060\u304f\u306a\u3044\u5c06\u6765\u306b\u3001Windows \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u6e96\u5099\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Q: \u305d\u308c\u3089\u306f\u30ed\u30fc\u30ab\u30eb\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3067\u3059\u304b\u3001\u305d\u308c\u3068\u3082\u30af\u30e9\u30a6\u30c9\u4e0a\u3067\u3059\u304b\uff1f<\/h3>\n<p>A: \u3053\u306e webinar \u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u4f7f\u3063\u305f\u3059\u3079\u3066\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u306f\u6b21\u306e\u3068\u3053\u308d\u306b\u3042\u308a\u307e\u3059:<\/p>\n<ul>\n<li>1\u3064\u76ee\u306e\u4f8b\u3067\u306f\u3001Mac Workstation \u5185\u306e Vagrant \u3092\u4f7f\u3063\u3066\u30ed\u30fc\u30ab\u30eb\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/li>\n<li>2\u3064\u76ee\u306e\u4f8b\u3067\u306f\u3001Mac Workstation \u5185\u306e Vagrant \u4eee\u60f3\u30de\u30b7\u30f3\u5185\u3067 Windows \u3092\u5b9f\u884c\u3057\u3001\u3053\u308c\u3082 Mac Workstation \u5185\u306e VMware Fusion \u4eee\u60f3\u30de\u30b7\u30f3\u5185\u3067 Docker \u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/li>\n<li>\u6700\u5f8c\u306e\u4f8b\u3067\u306f\u3001Amazon EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e Debian \u3092\u5b9f\u884c\u3057\u3001Amazon AWS \u30af\u30e9\u30a6\u30c9\u3067\u4ed6\u306e EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n<p>\u6b21\u56de\u306f\u56f3\u3092\u7528\u610f\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059 \ud83d\ude42<\/p>\n<h3>Q: Exchange \u3084 Sharepoint\u3001AC DC \u306a\u3069\u3068\u3044\u3063\u305f\u8907\u96d1\u306a\u30e9\u30a4\u30bb\u30f3\u30b9\u306e Windows \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092 Chef \u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u7ba1\u7406\u3092\u884c\u3046\u65b9\u6cd5\u3092\u3053\u306e\u30d7\u30ec\u30bc\u30f3\u3067\u77e5\u308a\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3061\u3087\u3063\u3068\u3057\u305f\u3053\u3068\u3067\u306f\u306a\u304f\u5927\u898f\u6a21\u306a\u3053\u3068\u3060\u3068\u601d\u3044\u307e\u3059\u304c...<\/h3>\n<p>A: \u305d\u3046\u3067\u3059\u306d\u3001Chef \u3092\u4f7f\u3063\u3066 Windows \u95a2\u9023\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u7ba1\u7406\u3057\u305f\u3044\u3068\u3044\u3046\u4f01\u696d\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002Test Kitchen \u306b\u591a\u304f\u306e\u52aa\u529b\u304c\u306a\u3055\u308c\u305f\u7d50\u679c\u3001Windows Node \u3067 Chef Cookbook \u3092\u30c6\u30b9\u30c8\u3059\u308b\u306e\u306f\u3068\u3066\u3082\u7c21\u5358\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u304c\u4eca\u5f8c\u3055\u3089\u306b\u6539\u5584\u3055\u308c\u3066\u3001\u3088\u308a\u52b9\u679c\u7684\u306b\u3001\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u697d\u3057\u304f\u3001Windows \u30a4\u30f3\u30d5\u30e9\u306e\u81ea\u52d5\u5316\u306e\u52a9\u3051\u3068\u306a\u308b\u3053\u3068\u304c\u79c1\u9054\u306e\u5e0c\u671b\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test Kitchen \u306f\u3055\u307e\u3056\u307e\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u4e0a\u3067 Cookbook [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36,43,42],"tags":[],"class_list":["post-11557","post","type-post","status-publish","format-standard","hentry","category-chef","category-docker","category-hashicorp"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef, Docker, HashiCorp |\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test\" \/>\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\/11557\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef, Docker, HashiCorp |\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/11557\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-22T06:00:23+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=\"5\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\/11557#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/11557\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef\",\"datePublished\":\"2016-02-22T06:00:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/11557\"},\"wordCount\":640,\"articleSection\":[\"Chef\",\"Docker\",\"HashiCorp\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/11557\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/11557\",\"name\":\"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\"},\"datePublished\":\"2016-02-22T06:00:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef, Docker, HashiCorp |\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/11557#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/11557\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/11557#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] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef, Docker, HashiCorp |\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test","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\/11557","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef, Docker, HashiCorp |\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test","og_url":"https:\/\/www.creationline.com\/tech-blog\/11557","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2016-02-22T06:00:23+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":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/11557#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/11557"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef","datePublished":"2016-02-22T06:00:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/11557"},"wordCount":640,"articleSection":["Chef","Docker","HashiCorp"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/11557","url":"https:\/\/www.creationline.com\/tech-blog\/11557","name":"[\u548c\u8a33] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"datePublished":"2016-02-22T06:00:23+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef, Docker, HashiCorp |\u672c\u7a3f\u306f Test Kitchen: Your Development Feedback Factory (2015\/09\/10) \u306e\u548c\u8a33\u3067\u3059\u3002 Test","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/11557#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/11557"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/11557#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] Test Kitchen: \u958b\u767a\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u5de5\u5834 #getchef"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/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\/11557","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=11557"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/11557\/revisions"}],"predecessor-version":[{"id":12801,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/11557\/revisions\/12801"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=11557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=11557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=11557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}