)]}'
{"recipes/volume.rb":[{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"b9b44422ed16646b76db3d5238de73ca0d8e8aa3","unresolved":false,"context_lines":[{"line_number":115,"context_line":"      mode \u00270400\u0027"},{"line_number":116,"context_line":"      owner node[\u0027openstack\u0027][\u0027block-storage\u0027][\u0027user\u0027]"},{"line_number":117,"context_line":"      group node[\u0027openstack\u0027][\u0027block-storage\u0027][\u0027group\u0027]"},{"line_number":118,"context_line":"    end"},{"line_number":119,"context_line":"  end"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  platform_options[\u0027cinder_svc_packages\u0027].each do |pkg|"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"1a6ced46_bc33d012","line":118,"updated":"2015-03-25 14:34:23.000000000","message":"Let the resource handle this?\n\nWhere is the content of this file coming from?\n\nRight now the resource above has NO content so is not really valid or doing good anyway.\n\nOnce you define where the content is coming file, you can change this File resource or use the Remote_file like:\n\nfile \"/etc/init.d/someService\" do\n  owner \u0027root\u0027\n  group \u0027root\u0027\n  mode 0755\n  content ::File.open(\"/home/someService\").read\n  action :create\nend\n\nremote_file \"Copy service file\" do \n  path \"/etc/init.d/someService\" \n  source \"file:///home/someService\"\n  owner \u0027root\u0027\n  group \u0027root\u0027\n  mode 0755\nend","commit_id":"7c17d2ccd179f97ff4a881759359967470add0bc"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"dc213bd8f20f21db0b05b75c1dfa456ca1c97c61","unresolved":false,"context_lines":[{"line_number":115,"context_line":"      mode \u00270400\u0027"},{"line_number":116,"context_line":"      owner node[\u0027openstack\u0027][\u0027block-storage\u0027][\u0027user\u0027]"},{"line_number":117,"context_line":"      group node[\u0027openstack\u0027][\u0027block-storage\u0027][\u0027group\u0027]"},{"line_number":118,"context_line":"    end"},{"line_number":119,"context_line":"  end"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  platform_options[\u0027cinder_svc_packages\u0027].each do |pkg|"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"1a6ced46_867f9faa","line":118,"in_reply_to":"1a6ced46_bc33d012","updated":"2015-03-25 16:23:53.000000000","message":"I agree with you, use “resource” looks better.\nThe content should be created by user, don\u0027t need remote_file I think.\nThanks!","commit_id":"7c17d2ccd179f97ff4a881759359967470add0bc"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"28c33bf39671a008a456c7350aaa825b8ee4a0e9","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    end"},{"line_number":119,"context_line":"  end"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  if san_private_key \u0026\u0026 san_private_key_url.nil?"},{"line_number":122,"context_line":"    fail \"san private key #{san_private_key} doesn\u0027t exist\"\\"},{"line_number":123,"context_line":"      unless File.exist?(san_private_key)"},{"line_number":124,"context_line":"    file san_private_key do"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"da9b358b_591afe6f","line":121,"updated":"2015-03-28 19:56:11.000000000","message":"I don\u0027think this is needed, if the file it local, just specify it with the url as a local file, no need for all this extra logic, resource already handle it.   I would recommend add a bit more explanation to the attribute file for this local use case.","commit_id":"1cda4ffd9d0570ee77f1737c8ff060a484fa4eb1"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"4636661d7969605d4184cd1f79140fc93d27f66b","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    end"},{"line_number":119,"context_line":"  end"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  if san_private_key \u0026\u0026 san_private_key_url.nil?"},{"line_number":122,"context_line":"    fail \"san private key #{san_private_key} doesn\u0027t exist\"\\"},{"line_number":123,"context_line":"      unless File.exist?(san_private_key)"},{"line_number":124,"context_line":"    file san_private_key do"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"da9b358b_846c929d","line":121,"in_reply_to":"da9b358b_591afe6f","updated":"2015-03-30 01:58:15.000000000","message":"Done","commit_id":"1cda4ffd9d0570ee77f1737c8ff060a484fa4eb1"}],"spec/volume_spec.rb":[{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"28c33bf39671a008a456c7350aaa825b8ee4a0e9","unresolved":false,"context_lines":[{"line_number":176,"context_line":"          expect(chef_run).to create_remote_file(\u0027/v7000_rsa\u0027).with("},{"line_number":177,"context_line":"            user: \u0027cinder\u0027,"},{"line_number":178,"context_line":"            group: \u0027cinder\u0027,"},{"line_number":179,"context_line":"            mode: \u00270400\u0027"},{"line_number":180,"context_line":"          )"},{"line_number":181,"context_line":"        end"},{"line_number":182,"context_line":"      end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"da9b358b_99108650","line":179,"updated":"2015-03-28 19:56:11.000000000","message":"add source to this list off options","commit_id":"1cda4ffd9d0570ee77f1737c8ff060a484fa4eb1"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"4636661d7969605d4184cd1f79140fc93d27f66b","unresolved":false,"context_lines":[{"line_number":176,"context_line":"          expect(chef_run).to create_remote_file(\u0027/v7000_rsa\u0027).with("},{"line_number":177,"context_line":"            user: \u0027cinder\u0027,"},{"line_number":178,"context_line":"            group: \u0027cinder\u0027,"},{"line_number":179,"context_line":"            mode: \u00270400\u0027"},{"line_number":180,"context_line":"          )"},{"line_number":181,"context_line":"        end"},{"line_number":182,"context_line":"      end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"da9b358b_240a66d3","line":179,"in_reply_to":"da9b358b_99108650","updated":"2015-03-30 01:58:15.000000000","message":"Done","commit_id":"1cda4ffd9d0570ee77f1737c8ff060a484fa4eb1"}]}
