)]}'
{"cookbooks/apt/recipes/default.rb":[{"author":{"_account_id":537,"name":"a abes","username":"a-abes"},"change_message_id":"d283140020061e4d176dcc20ce00bd725667b0c0","unresolved":false,"context_lines":[{"line_number":19,"context_line":"#"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Run apt-get update to create the stamp file"},{"line_number":22,"context_line":"execute \"apt-get-update\" do"},{"line_number":23,"context_line":"  command \"apt-get update\""},{"line_number":24,"context_line":"  ignore_failure true"},{"line_number":25,"context_line":"  not_if do ::File.exists?(\u0027/var/lib/apt/periodic/update-success-stamp\u0027) end"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F03w%3D","line":22,"updated":"2012-02-28 22:25:16.000000000","message":"In recent chef versions, if you use the \"package\" resource, chef is smart enough to trigger an update... so this shouldn\u0027t be required.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"16bd11aec44441f70f74b18ea04c78f740adfd4a","unresolved":false,"context_lines":[{"line_number":19,"context_line":"#"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Run apt-get update to create the stamp file"},{"line_number":22,"context_line":"execute \"apt-get-update\" do"},{"line_number":23,"context_line":"  command \"apt-get update\""},{"line_number":24,"context_line":"  ignore_failure true"},{"line_number":25,"context_line":"  not_if do ::File.exists?(\u0027/var/lib/apt/periodic/update-success-stamp\u0027) end"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F0Aw%3D","line":22,"in_reply_to":"AAAAEn%2F%2F03w%3D","updated":"2012-03-01 01:25:48.000000000","message":"Can you please link to documentation of this triggered update?  I pulled this recipe straight from the opscode repo because I was not seeing the behaviour you describe, and I have been using the latest versions of chef.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"}],"cookbooks/swift-aio/recipes/checkout_code.rb":[{"author":{"_account_id":537,"name":"a abes","username":"a-abes"},"change_message_id":"d283140020061e4d176dcc20ce00bd725667b0c0","unresolved":false,"context_lines":[{"line_number":29,"context_line":"  action :sync"},{"line_number":30,"context_line":"  user u"},{"line_number":31,"context_line":"  group g"},{"line_number":32,"context_line":"  not_if do File.exists?(\"#{swift_dir}\") end"},{"line_number":33,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F03o%3D","line":32,"updated":"2012-02-28 22:25:16.000000000","message":"could be useful to let git be smart about deciding to update or not update the local repo, even if it already exists.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"16bd11aec44441f70f74b18ea04c78f740adfd4a","unresolved":false,"context_lines":[{"line_number":29,"context_line":"  action :sync"},{"line_number":30,"context_line":"  user u"},{"line_number":31,"context_line":"  group g"},{"line_number":32,"context_line":"  not_if do File.exists?(\"#{swift_dir}\") end"},{"line_number":33,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F0BE%3D","line":32,"in_reply_to":"AAAAEn%2F%2F03o%3D","updated":"2012-03-01 01:25:48.000000000","message":"This cookbook is intended to configure a development environment rather than maintain it.  Is that a reasonable goal, or would it be preferable to focus more effort on maintenance?\n\nThe original reason for avoiding an update was that I was using the cookbook to configure Vagrant instances, and wanted to minimize the operations required to boot an already-provisioned VM.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"}],"cookbooks/swift-aio/recipes/default.rb":[{"author":{"_account_id":537,"name":"a abes","username":"a-abes"},"change_message_id":"d283140020061e4d176dcc20ce00bd725667b0c0","unresolved":false,"context_lines":[{"line_number":15,"context_line":"# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":16,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":17,"context_line":"# limitations under the License."},{"line_number":18,"context_line":"#"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"include_recipe \"swift-aio::dependencies\""},{"line_number":21,"context_line":"include_recipe \"swift-aio::loopback\""}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F03k%3D","line":18,"updated":"2012-02-28 22:25:16.000000000","message":"this could probably be done nicer with a \"role\" that can be imported to chef. Potentially, split it into a few roles - one that uses PPA\u0027s, one that uses git etc.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"16bd11aec44441f70f74b18ea04c78f740adfd4a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":16,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":17,"context_line":"# limitations under the License."},{"line_number":18,"context_line":"#"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"include_recipe \"swift-aio::dependencies\""},{"line_number":21,"context_line":"include_recipe \"swift-aio::loopback\""}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F0A0%3D","line":18,"in_reply_to":"AAAAEn%2F%2F03k%3D","updated":"2012-03-01 01:25:48.000000000","message":"Is converting the default recipe inclusions into a role something that should be done now or can it wait for future revisions of the cookbook?  There is interest in supporting multiple distros/sources for dependencies going forward, but the consensus seems to have been that this change can target just the documented SIO install.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"}],"cookbooks/swift-aio/recipes/dependencies.rb":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"7a548ff783ac70b0c479b3f709c6dcb92f364594","unresolved":false,"context_lines":[{"line_number":26,"context_line":"execute \"add_trunk_repo\" do"},{"line_number":27,"context_line":"  command \"apt-add-repository ppa:swift-core/#{branch}\""},{"line_number":28,"context_line":"  not_if do"},{"line_number":29,"context_line":"    File.exists?(\"/etc/apt/sources.list.d/swift-core-#{branch}-lucid.list\")"},{"line_number":30,"context_line":"  end"},{"line_number":31,"context_line":"  notifies :run, resources(:execute \u003d\u003e \"force-apt-get-update\"), :immediately"},{"line_number":32,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"AAAAEn%2F%2F9qU%3D","line":29,"updated":"2012-02-08 03:38:19.000000000","message":"Is Lucid best hard-coded here?","commit_id":"4e3609d4e2bf664be33f974add6de90e40ff1eb9"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"f5e3a8a5cb9ac87fb716a1e3e276d29bbff1f359","unresolved":false,"context_lines":[{"line_number":26,"context_line":"execute \"add_trunk_repo\" do"},{"line_number":27,"context_line":"  command \"apt-add-repository ppa:swift-core/#{branch}\""},{"line_number":28,"context_line":"  not_if do"},{"line_number":29,"context_line":"    File.exists?(\"/etc/apt/sources.list.d/swift-core-#{branch}-lucid.list\")"},{"line_number":30,"context_line":"  end"},{"line_number":31,"context_line":"  notifies :run, resources(:execute \u003d\u003e \"force-apt-get-update\"), :immediately"},{"line_number":32,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"AAAAEn%2F%2F9pI%3D","line":29,"in_reply_to":"AAAAEn%2F%2F9qU%3D","updated":"2012-02-08 04:35:14.000000000","message":"The intent was to mimic the aio instructions included in the swift docs, which specifies 10.04, but I\u0027d be happy to externalize the dist name as an overridable attribute if you would prefer.","commit_id":"4e3609d4e2bf664be33f974add6de90e40ff1eb9"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"51a1ce9736498a2a872ad219f2389392f75afefd","unresolved":false,"context_lines":[{"line_number":26,"context_line":"execute \"add_trunk_repo\" do"},{"line_number":27,"context_line":"  command \"apt-add-repository ppa:swift-core/#{branch}\""},{"line_number":28,"context_line":"  not_if do"},{"line_number":29,"context_line":"    File.exists?(\"/etc/apt/sources.list.d/swift-core-#{branch}-lucid.list\")"},{"line_number":30,"context_line":"  end"},{"line_number":31,"context_line":"  notifies :run, resources(:execute \u003d\u003e \"force-apt-get-update\"), :immediately"},{"line_number":32,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F05E%3D","line":29,"updated":"2012-02-28 21:25:29.000000000","message":"How will this whole section work with multiple distros?","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"}],"cookbooks/swift-aio/recipes/loopback.rb":[{"author":{"_account_id":537,"name":"a abes","username":"a-abes"},"change_message_id":"d283140020061e4d176dcc20ce00bd725667b0c0","unresolved":false,"context_lines":[{"line_number":98,"context_line":"rclocal_content \u003d (\"mkdir /var/run/swift\\\\n\" +"},{"line_number":99,"context_line":"                   \"chown #{u}:#{u} /var/run/swift\\\\n\")"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"rclocal_cmd \u003d (\"perl -0777 -p -i.bak \" +"},{"line_number":102,"context_line":"               \"-e \u0027s+(exit 0)\\\\Z+#{rclocal_content}$1+\u0027 \" +"},{"line_number":103,"context_line":"               \"/etc/rc.local\")"},{"line_number":104,"context_line":""}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F03Y%3D","line":101,"updated":"2012-02-28 22:25:16.000000000","message":"a comment would be nice... guess my perl is rusty.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"16bd11aec44441f70f74b18ea04c78f740adfd4a","unresolved":false,"context_lines":[{"line_number":98,"context_line":"rclocal_content \u003d (\"mkdir /var/run/swift\\\\n\" +"},{"line_number":99,"context_line":"                   \"chown #{u}:#{u} /var/run/swift\\\\n\")"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"rclocal_cmd \u003d (\"perl -0777 -p -i.bak \" +"},{"line_number":102,"context_line":"               \"-e \u0027s+(exit 0)\\\\Z+#{rclocal_content}$1+\u0027 \" +"},{"line_number":103,"context_line":"               \"/etc/rc.local\")"},{"line_number":104,"context_line":""}],"source_content_type":"text/x-ruby","patch_set":2,"id":"AAAAEn%2F%2F0A8%3D","line":101,"in_reply_to":"AAAAEn%2F%2F03Y%3D","updated":"2012-03-01 01:25:48.000000000","message":"This command inserts the text of rclocal_content before the appearance of \u0027exit 0\u0027 in /etc/rc.local.  It\u0027s not particularly fancy perl, just a simple search/replace command, but I\u0027m happy to add a comment.","commit_id":"20e34c9ee2fee7dd024e5ca80a11ca5e36cbee28"}]}
