{"action":"created","comment":{"url":"https://api.github.com/repos/osuosl/cs312/pulls/comments/24279630","id":24279630,"diff_hunk":"@@ -0,0 +1,170 @@\n+.. _12_chef_midterm_notes\n+\n+Geoffrey Corey\n+==============\n+\n+Guest Speaker\n+\n+Vagrant\n+-------\n+\n+Vagranftiles are... *ok*\n+\n+.. code-block:: ruby\n+\n+    # Single box with default options.\n+    #\n+    Vagrant::Config.run do |config|\n+      config.vm.box = 'precise32'\n+      config.vm.box_url = 'http://files.vagrantup.com/precise32.box'\n+    end\n+\n+`Complex`_ Vagrantfiles are not ok\n+\n+.. _Complex: https://github.com/stackforge/openstack-chef-repo/blob/master/Vagrantfile-aio-neutron\n+\n+Vagrant + Testing\n+-----------------\n+\n+Testing and Vagrantfiles are not clear:\n+\n+.. code-block:: ruby\n+\n+    Vagrant.configure('2') do |config|\n+      config.vm.box = 'precise64'\n+      config.vm.box_url = 'http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-vagrant-amd64-disk1.box'\n+\n+      config.vm.provision :shell, inline: <<-EOF\n+        sudo ufw allow 22\n+        yes | sudo ufw enable\n+      EOF\n+\n+      config.vm.provision :serverspec do |spec|\n+        spec.pattern = '*_spec.rb'\n+      end\n+    end\n+\n+What is going on here?\n+\n+Test-kitchen\n+------------\n+\n+Test Kitchen is **MAGIC**! (until it is not...)\n+\n+Test kitchen YAML files describe in a much clearer way what is going on.\n+\n+Kitchen YAML Example\n+--------------------\n+\n+(shamelessly plucked from Wednesday's slides)\n+\n+.. code-block:: yaml\n+\n+    ---\n+    driver:\n+      name: vagrant\n+\n+    provisioner:\n+      name: chef_solo\n+\n+    platforms:\n+      - name: ubuntu-12.04\n+      - name: centos-6.6\n+\n+    suites:\n+      - name: default\n+        run_list:\n+          - apt::default\n+          - recipe[mycookbook]\n+\n+When Test-kitchen is *NOT* Magic!\n+---------------------------------\n+\n+.. code-block::","path":"source/slides/12_chef_midterm_notes.rst","position":83,"original_position":83,"commit_id":"ffe11abbe718839806e54ecfb60ca9b0448e469c","original_commit_id":"ffe11abbe718839806e54ecfb60ca9b0448e469c","user":{"login":"ramereth","id":48997,"avatar_url":"https://avatars.githubusercontent.com/u/48997?v=3","gravatar_id":"","url":"https://api.github.com/users/ramereth","html_url":"https://github.com/ramereth","followers_url":"https://api.github.com/users/ramereth/followers","following_url":"https://api.github.com/users/ramereth/following{/other_user}","gists_url":"https://api.github.com/users/ramereth/gists{/gist_id}","starred_url":"https://api.github.com/users/ramereth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramereth/subscriptions","organizations_url":"https://api.github.com/users/ramereth/orgs","repos_url":"https://api.github.com/users/ramereth/repos","events_url":"https://api.github.com/users/ramereth/events{/privacy}","received_events_url":"https://api.github.com/users/ramereth/received_events","type":"User","site_admin":false},"body":"Change this to just ``::`` otherwise it errors.","created_at":"2015-02-06T23:09:59Z","updated_at":"2015-02-06T23:09:59Z","html_url":"https://github.com/osuosl/cs312/pull/37#discussion_r24279630","pull_request_url":"https://api.github.com/repos/osuosl/cs312/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/osuosl/cs312/pulls/comments/24279630"},"html":{"href":"https://github.com/osuosl/cs312/pull/37#discussion_r24279630"},"pull_request":{"href":"https://api.github.com/repos/osuosl/cs312/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/osuosl/cs312/pulls/37","id":28842093,"html_url":"https://github.com/osuosl/cs312/pull/37","diff_url":"https://github.com/osuosl/cs312/pull/37.diff","patch_url":"https://github.com/osuosl/cs312/pull/37.patch","issue_url":"https://api.github.com/repos/osuosl/cs312/issues/37","number":37,"state":"open","locked":false,"title":"fri 2-6 slides","user":{"login":"jordane","id":342364,"avatar_url":"https://avatars.githubusercontent.com/u/342364?v=3","gravatar_id":"","url":"https://api.github.com/users/jordane","html_url":"https://github.com/jordane","followers_url":"https://api.github.com/users/jordane/followers","following_url":"https://api.github.com/users/jordane/following{/other_user}","gists_url":"https://api.github.com/users/jordane/gists{/gist_id}","starred_url":"https://api.github.com/users/jordane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordane/subscriptions","organizations_url":"https://api.github.com/users/jordane/orgs","repos_url":"https://api.github.com/users/jordane/repos","events_url":"https://api.github.com/users/jordane/events{/privacy}","received_events_url":"https://api.github.com/users/jordane/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-06T21:09:33Z","updated_at":"2015-02-06T23:09:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e44c927b00a94cdfe97ba9e9ff04e80b2c3bdc84","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osuosl/cs312/pulls/37/commits","review_comments_url":"https://api.github.com/repos/osuosl/cs312/pulls/37/comments","review_comment_url":"https://api.github.com/repos/osuosl/cs312/pulls/comments/{number}","comments_url":"https://api.github.com/repos/osuosl/cs312/issues/37/comments","statuses_url":"https://api.github.com/repos/osuosl/cs312/statuses/ffe11abbe718839806e54ecfb60ca9b0448e469c","head":{"label":"osuosl:jordane/fri-2-6","ref":"jordane/fri-2-6","sha":"ffe11abbe718839806e54ecfb60ca9b0448e469c","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":27409564,"name":"cs312","full_name":"osuosl/cs312","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/cs312","description":"Class site and slides for CS312 at Oregon State University","fork":false,"url":"https://api.github.com/repos/osuosl/cs312","forks_url":"https://api.github.com/repos/osuosl/cs312/forks","keys_url":"https://api.github.com/repos/osuosl/cs312/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/cs312/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/cs312/teams","hooks_url":"https://api.github.com/repos/osuosl/cs312/hooks","issue_events_url":"https://api.github.com/repos/osuosl/cs312/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/cs312/events","assignees_url":"https://api.github.com/repos/osuosl/cs312/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/cs312/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/cs312/tags","blobs_url":"https://api.github.com/repos/osuosl/cs312/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/cs312/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/cs312/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/cs312/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/cs312/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/cs312/languages","stargazers_url":"https://api.github.com/repos/osuosl/cs312/stargazers","contributors_url":"https://api.github.com/repos/osuosl/cs312/contributors","subscribers_url":"https://api.github.com/repos/osuosl/cs312/subscribers","subscription_url":"https://api.github.com/repos/osuosl/cs312/subscription","commits_url":"https://api.github.com/repos/osuosl/cs312/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/cs312/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/cs312/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/cs312/issues/comments/{number}","contents_url":"https://api.github.com/repos/osuosl/cs312/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/cs312/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/cs312/merges","archive_url":"https://api.github.com/repos/osuosl/cs312/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/cs312/downloads","issues_url":"https://api.github.com/repos/osuosl/cs312/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/cs312/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/cs312/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/cs312/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/cs312/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/cs312/releases{/id}","created_at":"2014-12-02T01:42:46Z","updated_at":"2015-02-04T22:12:17Z","pushed_at":"2015-02-06T23:09:01Z","git_url":"git://github.com/osuosl/cs312.git","ssh_url":"git@github.com:osuosl/cs312.git","clone_url":"https://github.com/osuosl/cs312.git","svn_url":"https://github.com/osuosl/cs312","homepage":null,"size":5406,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"osuosl:master","ref":"master","sha":"0947573169c9842c05178e675c3b02ecc93f6dea","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":27409564,"name":"cs312","full_name":"osuosl/cs312","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/cs312","description":"Class site and slides for CS312 at Oregon State University","fork":false,"url":"https://api.github.com/repos/osuosl/cs312","forks_url":"https://api.github.com/repos/osuosl/cs312/forks","keys_url":"https://api.github.com/repos/osuosl/cs312/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/cs312/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/cs312/teams","hooks_url":"https://api.github.com/repos/osuosl/cs312/hooks","issue_events_url":"https://api.github.com/repos/osuosl/cs312/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/cs312/events","assignees_url":"https://api.github.com/repos/osuosl/cs312/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/cs312/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/cs312/tags","blobs_url":"https://api.github.com/repos/osuosl/cs312/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/cs312/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/cs312/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/cs312/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/cs312/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/cs312/languages","stargazers_url":"https://api.github.com/repos/osuosl/cs312/stargazers","contributors_url":"https://api.github.com/repos/osuosl/cs312/contributors","subscribers_url":"https://api.github.com/repos/osuosl/cs312/subscribers","subscription_url":"https://api.github.com/repos/osuosl/cs312/subscription","commits_url":"https://api.github.com/repos/osuosl/cs312/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/cs312/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/cs312/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/cs312/issues/comments/{number}","contents_url":"https://api.github.com/repos/osuosl/cs312/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/cs312/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/cs312/merges","archive_url":"https://api.github.com/repos/osuosl/cs312/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/cs312/downloads","issues_url":"https://api.github.com/repos/osuosl/cs312/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/cs312/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/cs312/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/cs312/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/cs312/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/cs312/releases{/id}","created_at":"2014-12-02T01:42:46Z","updated_at":"2015-02-04T22:12:17Z","pushed_at":"2015-02-06T23:09:01Z","git_url":"git://github.com/osuosl/cs312.git","ssh_url":"git@github.com:osuosl/cs312.git","clone_url":"https://github.com/osuosl/cs312.git","svn_url":"https://github.com/osuosl/cs312","homepage":null,"size":5406,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osuosl/cs312/pulls/37"},"html":{"href":"https://github.com/osuosl/cs312/pull/37"},"issue":{"href":"https://api.github.com/repos/osuosl/cs312/issues/37"},"comments":{"href":"https://api.github.com/repos/osuosl/cs312/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/osuosl/cs312/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/osuosl/cs312/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/osuosl/cs312/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/osuosl/cs312/statuses/ffe11abbe718839806e54ecfb60ca9b0448e469c"}}}}