{"id":9753,"date":"2015-06-23T11:00:59","date_gmt":"2015-06-23T02:00:59","guid":{"rendered":"http:\/\/www.creationline.com\/?p=9753"},"modified":"2026-05-27T22:14:44","modified_gmt":"2026-05-27T13:14:44","slug":"oc-id%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b-getchef","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753","title":{"rendered":"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef"},"content":{"rendered":"<p>Chef Server 12\u304b\u3089\u3001Chef\u793e\u306eOAuth2\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308b<a href=\"https:\/\/id.chef.io\/\">id.chef.io<\/a>\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b<a href=\"https:\/\/github.com\/chef\/oc-id\">oc-id<\/a>\u304c\u540c\u68b1\u3055\u308c\u3066\u3044\u307e\u3059\u3002oc-id\u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306e<a href=\"https:\/\/supermarket.chef.io\/\">Supermarket<\/a>\u3084<a href=\"https:\/\/docs.chef.io\/analytics.html\">Chef Analytics<\/a>\u306e\u30d0\u30fc\u30b8\u30e7\u30f31.1\u4ee5\u964d\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u3067\u306f\u307e\u305a\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306eoc-id\u30b5\u30fc\u30d3\u30b9\u3092\u8a2d\u5b9a\u3057\u3001\u6b21\u306b\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Supermarket\u3068Chef Analytics\u306b\u9023\u643a\u3055\u305b\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u3053\u3067\u306f\u4ee5\u4e0b\u306e\u30db\u30b9\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3059\u3079\u3066 Ubuntu 14.04 LTS \u3067\u3059\u3002<\/p>\n<ul>\n<li>chef-server.example.jp (192.168.122.101) : Chef Server 12.0.7<\/li>\n<li>ws.example.jp (192.168.122.200) : Workstation (Chef Client 12.2.1)<\/li>\n<li>supermarket.example.jp (192.168.122.122): Supermarket\u30c7\u30d7\u30ed\u30a4\u5148<\/li>\n<li>chef-analytics.example.jp (192.168.122.121) : Chef Analytics\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148<\/li>\n<\/ul>\n<p>\u306a\u304a\u3001\u304a\u4e92\u3044\u306b\u540d\u524d\u89e3\u6c7a\u304c\u3067\u304d\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002OAuth2\u3067\u306f\u9023\u643a\u306e\u305f\u3081\u306b\u30db\u30b9\u30c8\u540d\u304c\u91cd\u8981\u3068\u306a\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<h2>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Supermarket<\/h2>\n<p><a href=\"\/lab\/9541\">[\u548c\u8a33] \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Supermarket\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u3066\u307f\u3088\u3046<\/a>\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<h3>Chef Server\u3067oc-id\u8a2d\u5b9a\u3092\u884c\u3046<\/h3>\n<p>Chef Server 12.0.7\u3092\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30fc\u30f3\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u8a2d\u5b9a\u3092\u5b8c\u4e86\u3057\u3066\u3044\u308b\u3082\u306e\u3068\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u65e2\u306b\u5229\u7528\u3057\u3066\u3044\u308bChef Server\u306b\u3001oc-id\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>Chef Server\u306bSSH\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3001<strong>\/etc\/opscode\/chef-server.rb<\/strong>\u306b\u6b21\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fSupermarket\u306e\u307f\u306e\u8a2d\u5b9a\u3067\u3059\u3002\u30ea\u30c0\u30a4\u30ec\u30af\u30c8URI\u306fSupermarket\u306e\u30db\u30b9\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo vi \/etc\/opscode\/chef-server.rb\noc_id['applications'] = {\n'supermarket' =&gt; {\n'redirect_uri' =&gt; 'https:\/\/supermarket.example.jp\/auth\/chef_oauth2\/callback'\n}\n}<\/pre>\n<p><strong>chef-server-ctl reconfigure<\/strong>\u3092\u5b9f\u884c\u3057\u3001\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo chef-server-ctl reconfigure\n:\n:\n:\nRecipe: private-chef::oc_id\n:\n:\n:\nRunning handlers:\nRunning handlers complete\nChef Client finished, 35\/390 resources updated in 22.738009376 seconds\nopscode Reconfigured!\nubuntu@chef-server:~$<\/pre>\n<p><strong>\/etc\/opscode\/oc-id-applications\/supermarket.json<\/strong>\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u4e2d\u306e\u5024\u3092\u3069\u3053\u304b\u306b\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u5024\u306f\u5f8c\u3067\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo cat \/etc\/opscode\/oc-id-applications\/supermarket.json\n{\n&quot;name&quot;: &quot;supermarket&quot;,\n&quot;uid&quot;: &quot;b2b762d6a5d6fa5b4376f65f95ad516d5c2c15312f0554894705023db72ab1a5&quot;,\n&quot;secret&quot;: &quot;93fb8c71b38debef397f4141bcf03657f3e600cac1117362fd3005497f6f881b&quot;,\n&quot;redirect_uri&quot;: &quot;https:\/\/supermarket.example.jp\/auth\/chef_oauth2\/callback&quot;\n}\nubuntu@chef-server:~$<\/pre>\n<h3>Workstation\u304b\u3089Supermarket\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b<\/h3>\n<p>Chef Server\u304b\u3089\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3001Workstation\u3067\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002\u307e\u305a\u3001chef-repo\u306bSupermarket\u306eomnibus\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u305f\u3081\u306eCookbook\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ws:~$ cd chef-repo\/cookbooks\/\nubuntu@ws:~\/chef-repo\/cookbooks$ git clone https:\/\/github.com\/irvingpop\/supermarket-omnibus-cookbook.git supermarket-omnibus-cookbook\nCloning into 'supermarket-omnibus-cookbook'...\nremote: Counting objects: 77, done.\nremote: Total 77 (delta 0), reused 0 (delta 0), pack-reused 77\nUnpacking objects: 100% (77\/77), done.\nChecking connectivity... done.\nubuntu@ws:~\/chef-repo\/cookbooks$<\/pre>\n<p>\u4f9d\u5b58\u95a2\u4fc2\u306b\u3042\u308b<strong>chef-server-ingredient<\/strong> Cookbook\u3068<strong>packagecloud<\/strong> Cookbook\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ws:~\/chef-repo$ knife cookbook site install chef-server-ingredient\nInstalling chef-server-ingredient to \/home\/ubuntu\/chef-repo\/cookbooks\nChecking out the master branch.\nCreating pristine copy branch chef-vendor-chef-server-ingredient\nDownloading chef-server-ingredient from the cookbooks site at version 0.3.2 to \/home\/ubuntu\/chef-repo\/cookbooks\/chef-server-ingredient.tar.gz\n:\n:\n:\nCookbook chef-server-ingredient version 0.3.2 successfully installed\nInstalling packagecloud to \/home\/ubuntu\/chef-repo\/cookbooks\nChecking out the master branch.\nCreating pristine copy branch chef-vendor-packagecloud\nDownloading packagecloud from the cookbooks site at version 0.0.17 to \/home\/ubuntu\/chef-repo\/cookbooks\/packagecloud.tar.gz\n:\n:\n:\nCookbook packagecloud version 0.0.17 successfully installed\nubuntu@ws:~\/chef-repo$<\/pre>\n<p>\u53d6\u5f97\u3057\u305f 3\u3064\u306eCookbook\u3092Chef Server\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ws:~\/chef-repo$ knife upload cookbooks\/supermarket-omnibus-cookbook\/ cookbooks\/chef-server-ingredient\/ cookbooks\/packagecloud\/\nCreated cookbooks\/supermarket-omnibus-cookbook\nCreated cookbooks\/chef-server-ingredient\nCreated cookbooks\/packagecloud\nubuntu@ws:~\/chef-repo$<\/pre>\n<p>Supermarket\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u306eRole\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u5148\u7a0b\u30e1\u30e2\u3057\u3066\u304a\u3044\u305f\u5024\u3092\u4f7f\u3044\u307e\u3059\u3002<strong>uid<\/strong>\u306e\u5024\u3092<strong>chef_oauth2_app_id<\/strong>\u306b\u3001<strong>secret<\/strong>\u306e\u5024\u3092<strong>chef_oauth2_secret<\/strong>\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002Chef\u793e\u30d6\u30ed\u30b0\u3067\u306f<strong>chef_server_url<\/strong>\u306e\u307f\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001<strong>chef_oauth2_url<\/strong>\u3082\u8ffd\u52a0\u3057\u307e\u3059\u3002\u304d\u3061\u3093\u3068\u9023\u643a\u304c\u884c\u308f\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u53c2\u8003: <a href=\"https:\/\/github.com\/chef\/supermarket\/issues\/911#issuecomment-64056549\">&quot;Sign in with your chef account&quot; redirects to https:\/\/id.opscode.com\/... instead of local Chef Server<\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ws:~\/chef-repo$ vi roles\/supermarket.json\n{\n&quot;name&quot;: &quot;supermarket&quot;,\n&quot;description&quot;: &quot;Private Supermarket role&quot;,\n&quot;run_list&quot;: [ &quot;recipe[supermarket-omnibus-cookbook::default]&quot; ],\n&quot;default_attributes&quot;: {\n&quot;supermarket_omnibus&quot;: {\n&quot;chef_server_url&quot;: &quot;https:\/\/chef-server.example.jp&quot;,\n&quot;chef_oauth2_url&quot;: &quot;https:\/\/chef-server.example.jp&quot;,\n&quot;chef_oauth2_app_id&quot;: &quot;b2b762d6a5d6fa5b4376f65f95ad516d5c2c15312f0554894705023db72ab1a5&quot;,\n&quot;chef_oauth2_secret&quot;: &quot;93fb8c71b38debef397f4141bcf03657f3e600cac1117362fd3005497f6f881b&quot;,\n&quot;chef_oauth2_verify_ssl&quot;: false\n}\n}\n}\nubuntu@ws:~\/chef-repo$<\/pre>\n<p>Role\u3092Chef Server\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ws:~\/chef-repo$ knife upload roles\/supermarket.json\nCreated roles\/supermarket.json\nubuntu@ws:~\/chef-repo$<\/pre>\n<p>knife bootstrap\u30b3\u30de\u30f3\u30c9\u3067\u3001Supermarket\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ws:~\/chef-repo$ knife bootstrap -N supermarket.example.jp supermarket.example.jp -r 'role[supermarket]' -x ubuntu -P ubuntu --sudo\nCreating new client for supermarket.example.jp\nCreating new node for supermarket.example.jp\nConnecting to supermarket.example.jp\nsupermarket.example.jp\nsupermarket.example.jp Starting first Chef Client run...\nsupermarket.example.jp Starting Chef Client, version 12.3.0\nsupermarket.example.jp resolving cookbooks for run list: [&quot;supermarket-omnibus-cookbook::default&quot;]\nsupermarket.example.jp Synchronizing Cookbooks:\nsupermarket.example.jp   - supermarket-omnibus-cookbook\nsupermarket.example.jp   - chef-server-ingredient\nsupermarket.example.jp   - packagecloud\nsupermarket.example.jp Compiling Cookbooks...\nsupermarket.example.jp Converging 3 resources\nsupermarket.example.jp Recipe: supermarket-omnibus-cookbook::default\n:\n:\n:\nsupermarket.example.jp     * execute[supermarket-reconfigure] action run\nsupermarket.example.jp       - execute supermarket-ctl reconfigure\nsupermarket.example.jp\nsupermarket.example.jp\nsupermarket.example.jp Running handlers:\nsupermarket.example.jp Running handlers complete\nsupermarket.example.jp Chef Client finished, 10\/11 resources updated in 198.307162596 seconds\nubuntu@ws:~\/chef-repo$<\/pre>\n<p>\u30c7\u30d7\u30ed\u30a4\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Supermarket\u306b\u30b5\u30a4\u30f3\u30a4\u30f3<\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067Supermarket\u306eURI\u3092\u958b\u304d\u307e\u3059\u3002\u300c<strong>Sign Up For a Chef Account<\/strong>\u300d\u3067\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.png\" alt=\"010-supermarket-top\"><\/p>\n<p>\u3068\u3001oc-id\u306b\u3088\u3063\u3066Chef Server\u3068Supermarket\u304c\u9023\u643a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u5148\u306fChef Server\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002Chef Server\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067Supermarket\u304c\u5229\u7528\u3067\u304d\u308b\u72b6\u614b\u3067\u3059\u3002\u3053\u3053\u3067Chef Server\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u305f\u3053\u3068\u306b\u3057\u3066\u3001\u6b21\u306b\u9032\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u3053\u3067Chef Server\u306e\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u753b\u9762\u306b\u306a\u3089\u306a\u3044\u5834\u5408\u3001Supermarket\u306e\u30c7\u30d7\u30ed\u30a4\u304c\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u53c2\u8003: <a href=\"https:\/\/github.com\/chef\/supermarket\/issues\/911#issuecomment-64056549\">&quot;Sign in with your chef account&quot; redirects to https:\/\/id.opscode.com\/... instead of local Chef Server<\/a><\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/020-chef-server-signup.png\" alt=\"020-chef-server-signup\"><\/p>\n<p>Supermarket\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u623b\u308a\u3001\u300c<strong>Sign In With Your Chef Account<\/strong>\u300d\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/030-supermarket-signin.png\" alt=\"030-supermarket-signin\"><\/p>\n<p>Chef Server\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306bSupermarket\u3092\u7d10\u4ed8\u3051\u3066\u3088\u3044\u304b\u78ba\u8a8d\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u300c<strong>Yes<\/strong>\u300d\u3067\u627f\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/040-oc-id-auth-required.png\" alt=\"040-oc-id-auth-required\"><\/p>\n<p>Supermarket\u306b\u30b5\u30a4\u30f3\u30a4\u30f3\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/050-supermarket-logged-in.png\" alt=\"050-supermarket-logged-in\"><\/p>\n<p>\u4ee5\u964d\u306fChef Server\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067Supermarket\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Supermarket\u304b\u3089\u30b5\u30a4\u30f3\u30a2\u30a6\u30c8\u3059\u308b\u3068\u3001Chef Server\u3068\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3068Supermarket\u304c\u7d10\u4ed8\u3044\u305f\u307e\u307e\u3001\u3068\u3044\u3046\u8b66\u544a\u304c\u51fa\u307e\u3059\u3002\u4e00\u65e6\u9023\u643a\u3092\u89e3\u9664\u3059\u308b\u306b\u306f\u3001\u8d64\u67a0\u306e\u4e2d\u306e\u30ea\u30f3\u30af\u3092\u305f\u3069\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/060-supermarket-logged-out.png\" alt=\"060-supermarket-logged-out\"><\/p>\n<p>\u300c<strong>Revoke<\/strong>\u300d\u3092\u9078\u629e\u3059\u308b\u3068\u3001Supermarket\u3068\u306e\u9023\u643a\u304c\u89e3\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/070-oc-id-revoking.png\" alt=\"070-oc-id-revoking\"><\/p>\n<p>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Supermarket\u306e\u5229\u7528\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u5225\u7a3f\u306b\u8b72\u308a\u307e\u3059\u3002<\/p>\n<h2>Chef Analytics<\/h2>\n<p><a href=\"https:\/\/docs.chef.io\/install_analytics.html#standalone-version-1-1\">Standalone (version 1.1) | Install Chef Analytics<\/a>\u306b\u5f93\u3063\u3066\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30fc\u30f3\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h3>Chef Analytics\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>chef-analytics.example.jp\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ sudo dpkg -i opscode-analytics_1.1.2-1_amd64.deb\n\u4ee5\u524d\u306b\u672a\u9078\u629e\u306e\u30d1\u30c3\u30b1\u30fc\u30b8 opscode-analytics \u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059\u3002\n(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059 ... \u73fe\u5728 56008 \u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002)\nPreparing to unpack opscode-analytics_1.1.2-1_amd64.deb ...\nUnpacking opscode-analytics (1.1.2-1) ...\nopscode-analytics (1.1.2-1) \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 ...\nubuntu@chef-analytics:~$<\/pre>\n<h3>Chef Server\u3067oc-id\u8a2d\u5b9a\u3092\u884c\u3046<\/h3>\n<p><strong>\/etc\/opscode\/chef-server.rb<\/strong>\u306bChef Analytics\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001RabbitMQ\u306e\u8a2d\u5b9a\u3082\u8ffd\u52a0\u3057\u307e\u3059\u3002Chef Analytics\u306fChef Server\u3068\u540c\u3058RabbitMQ\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u3067\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u3092\u9593\u9055\u3048\u308b\u3068\u5f8c\u3067\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo vi \/etc\/opscode\/chef-server.rb\noc_id['applications'] = {\n'supermarket' =&gt; {\n'redirect_uri' =&gt; 'https:\/\/supermarket.example.jp\/auth\/chef_oauth2\/callback'\n},\n'analytics' =&gt; {\n'redirect_uri' =&gt; 'https:\/\/chef-analytics.example.jp\/'\n}\n}\nrabbitmq['vip'] = '192.168.122.101'\nrabbitmq['node_ip_address'] = '0.0.0.0'<\/pre>\n<p>Chef Server\u3092\u518d\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo chef-server-ctl reconfigure\n:\n:\n:\nRecipe: private-chef::oc_id\n:\n:\n:\nRunning handlers:\nRunning handlers complete\nChef Client finished, 36\/393 resources updated in 22.955613935 seconds\nopscode Reconfigured!\nubuntu@chef-server:~$<\/pre>\n<p>Chef Server\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo chef-server-ctl restart\nok: run: bookshelf: (pid 19693) 1s\nok: run: nginx: (pid 19735) 0s\nok: run: oc_bifrost: (pid 19750) 0s\nok: run: oc_id: (pid 19790) 0s\nok: run: opscode-chef-mover: (pid 19793) 1s\nok: run: opscode-erchef: (pid 19821) 0s\nok: run: opscode-expander: (pid 19901) 1s\nok: run: opscode-expander-reindexer: (pid 19959) 1s\nok: run: opscode-solr4: (pid 19993) 0s\nok: run: postgresql: (pid 20022) 0s\nok: run: rabbitmq: (pid 20024) 0s\nok: run: redis_lb: (pid 20068) 0s\nubuntu@chef-server:~$<\/pre>\n<p>\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u518d\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ sudo opscode-manage-ctl reconfigure\n:\n:\n:\nRunning handlers:\nRunning handlers complete\nChef Client finished, 10\/71 resources updated in 16.58458282 seconds\nopscode-manage Reconfigured!\nubuntu@chef-server:~$<\/pre>\n<h3>Chef Analytics\u306e\u8a2d\u5b9a\u3092\u884c\u3046<\/h3>\n<p>\u518d\u3073chef-analytics.example.jp\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8a2d\u5b9a\u3092\u7d9a\u3051\u307e\u3059\u3002<\/p>\n<p>Chef Server\u306e**\/etc\/opscode-analytics**\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u307e\u308b\u3054\u3068\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-server:~$ ls -la \/etc\/opscode-analytics\n\u5408\u8a08 16\ndrwxrwxr-x  2 opscode opscode 4096  5\u6708  1 17:45 .\ndrwxr-xr-x 93 root    root    4096  5\u6708  1 12:20 ..\n-rw-------  1 root    root     655  5\u6708  1 17:43 actions-source.json\n-rw-------  1 opscode root    1679  4\u6708  9 10:42 webui_priv.pem\nubuntu@chef-server:~$<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ ls -al \/etc\/opscode-analytics\/\n\u5408\u8a08 16\ndrwxrwxr-x  2 root root 4096  5\u6708  1 17:38 .\ndrwxr-xr-x 90 root root 4096  5\u6708  1 17:34 ..\n-rw-r--r--  1 root root  656  5\u6708  1 17:48 actions-source.json\n-rw-r--r--  1 root root 1679  5\u6708  1 17:37 webui_priv.pem\nubuntu@chef-analytics:~$<\/pre>\n<p>\u6240\u6709\u8005\u306a\u3069\u304c\u5408\u3044\u307e\u305b\u3093\u304c\u3001\u5f8c\u3067\u4fee\u6b63\u3055\u308c\u308b\u306e\u3067\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ sudo vi \/etc\/opscode-analytics\/opscode-analytics.rb\nanalytics_fqdn &quot;chef-analytics.example.jp&quot;\ntopology &quot;standalone&quot;\nubuntu@chef-analytics:~$<\/pre>\n<p>\u8a2d\u5b9a\u304c\u6b63\u3057\u3044\u304b\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ sudo opscode-analytics-ctl preflight-check\n[SUCCESS] Preflight check successful!\nubuntu@chef-analytics:~$<\/pre>\n<p>\u3082\u3057\u3053\u3053\u3067RabbitMQ\u306b\u63a5\u7d9a\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ sudo opscode-analytics-ctl preflight-check\n[ERROR] Can't connect to RabbitMQ on Enterprise Chef server at 192.168.122.101:5672\n[FAILURE] Preflight check failed. Please check the installation instructions at http:\/\/docs.opscode.com\/install_analytics.html\nubuntu@chef-analytics:~$<\/pre>\n<p>Chef Analytics\u3092\u518d\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ sudo opscode-analytics-ctl reconfigure\n:\n:\n:\nRunning handlers:\nRunning handlers complete\nChef Client finished, 280\/295 resources updated in 96.093788452 seconds\nopscode-analytics Reconfigured!\nubuntu@chef-analytics:~$<\/pre>\n<p>Chef Analytics\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@chef-analytics:~$ sudo opscode-analytics-ctl test\nRunning with options:\n{:config_file=&gt;&quot;\/opt\/opscode-analytics\/embedded\/service\/analytics-test\/config.rb&quot;, :smoke_tests_only=&gt;true}\n\nRunning tests from the following directory:\n\/opt\/opscode-analytics\/embedded\/service\/analytics-test\/spec\/integration\n\nRandomized with seed 20487\n\nbasic server state check\nis running\n\nFinished in 0.01898 seconds\n1 example, 0 failures\n\nRandomized with seed 20487\n\nubuntu@chef-analytics:~$<\/pre>\n<p>1\u3064\u3057\u304b\u30c6\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u554f\u984c\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>Chef Analytics\u306e\u30b5\u30a4\u30f3\u30a4\u30f3<\/h3>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067Chef Analytics\u306eURI\u3092\u958b\u304d\u307e\u3059\u3002\u300c<strong>Start Analytics<\/strong>\u300d\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/100-analytics-top.png\" alt=\"100-analytics-top\"><\/p>\n<p>Chef Server\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306bChef Analytics\u3092\u7d10\u4ed8\u3051\u3066\u3088\u3044\u304b\u78ba\u8a8d\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u300c<strong>Yes<\/strong>\u300d\u3067\u627f\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/110-oc-id-auth-required.png\" alt=\"110-oc-id-auth-required\"><\/p>\n<p>Chef Analytics\u306b\u30b5\u30a4\u30f3\u30a4\u30f3\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/120-analytics-signin.png\" alt=\"120-analytics-signin\"><\/p>\n<p>Chef Analytics\u306e\u5229\u7528\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u5225\u7a3f\u306b\u8b72\u308a\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Chef\u793e\u304cOAuth2\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u308boc-id\u306b\u3064\u3044\u3066\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Supermarket\u3068Chef Analytics\u3067\u5b9f\u969b\u306b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002Chef Server\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u767b\u9332\u3059\u308b\u3068oc-id\u9023\u643a\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u306b\u4f7f\u3044\u56de\u305b\u308b\u306e\u3067\u3001\u95a2\u9023\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u4e00\u62ec\u7ba1\u7406\u306b\u975e\u5e38\u306b\u4fbf\u5229\u3068\u8a00\u3048\u307e\u3059\u3002\u662f\u975e\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chef Server 12\u304b\u3089\u3001Chef\u793e\u306eOAuth2\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308bid.chef.io\u3067\u4f7f\u308f\u308c\u3066\u3044\u308boc-id\u304c\u540c\u68b1\u3055\u308c\u3066\u3044\u307e\u3059\u3002oc-id\u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306eSupermarket\u3084Chef Analytics\u306e\u30d0 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":9754,"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-9753","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.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef, d-higuchi |Chef Server\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef, d-higuchi |Chef Server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753\" \/>\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-06-23T02:00:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-27T13:14:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.png\" \/>\n\t<meta property=\"og:image:width\" content=\"951\" \/>\n\t<meta property=\"og:image:height\" content=\"711\" \/>\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=\"6\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\\\/9753#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef\",\"datePublished\":\"2015-06-23T02:00:59+00:00\",\"dateModified\":\"2026-05-27T13:14:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753\"},\"wordCount\":261,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/010-supermarket-top.png\",\"articleSection\":[\"Chef\",\"d-higuchi\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753\",\"name\":\"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/010-supermarket-top.png\",\"datePublished\":\"2015-06-23T02:00:59+00:00\",\"dateModified\":\"2026-05-27T13:14:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef, d-higuchi |Chef Server\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/010-supermarket-top.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/010-supermarket-top.png\",\"width\":951,\"height\":711},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/9753#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\":\"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #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\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"\u306f\u3084\u308a\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef, d-higuchi |Chef Server","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753","og_locale":"ja_JP","og_type":"article","og_title":"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef, d-higuchi |Chef Server","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753","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-06-23T02:00:59+00:00","article_modified_time":"2026-05-27T13:14:44+00:00","og_image":[{"width":951,"height":711,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.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":"6\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef","datePublished":"2015-06-23T02:00:59+00:00","dateModified":"2026-05-27T13:14:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753"},"wordCount":261,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.png","articleSection":["Chef","d-higuchi"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753","name":"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.png","datePublished":"2015-06-23T02:00:59+00:00","dateModified":"2026-05-27T13:14:44+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef, d-higuchi |Chef Server","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/05\/010-supermarket-top.png","width":951,"height":711},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/9753#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":"oc-id\u3092\u4f7f\u3063\u3066\u307f\u308b #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\/2026\/05\/pngout-25-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","caption":"Daisuke Higuchi"},"description":"\u306f\u3084\u308a\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/9753","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=9753"}],"version-history":[{"count":3,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/9753\/revisions"}],"predecessor-version":[{"id":84010,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/9753\/revisions\/84010"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/9754"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=9753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=9753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=9753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}