)]}'
{"lib/puppet/provider/openstack/auth.rb":[{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"f7d0f26fe6a7923a8b4f421614574d1e438386ac","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  def get_os_vars_from_rcfile(filename)"},{"line_number":14,"context_line":"    env \u003d {}"},{"line_number":15,"context_line":"    rcfile \u003d [filename, \u0027/root/openrc\u0027].detect { |f| File.exists? f }"},{"line_number":16,"context_line":"    unless rcfile.nil?"},{"line_number":17,"context_line":"      File.open(rcfile).readlines.delete_if{|l| l\u003d~ /^#|^$/ }.each do |line|"},{"line_number":18,"context_line":"        key, value \u003d line.split(\u0027\u003d\u0027)"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"9a1a9d01_bf03f60e","line":15,"updated":"2015-09-25 11:44:43.000000000","message":"Why you use this path? It looks like hardcode","commit_id":"e997836e36d908208a25dec3883df259008267cd"},{"author":{"_account_id":7604,"name":"Sergey Kolekonov","email":"skolekonov@mirantis.com","username":"skolekonov"},"change_message_id":"0ceb7bf2ca22ab6cbe2859095beb2cb70f7f88a9","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  def get_os_vars_from_rcfile(filename)"},{"line_number":14,"context_line":"    env \u003d {}"},{"line_number":15,"context_line":"    rcfile \u003d [filename, \u0027/root/openrc\u0027].detect { |f| File.exists? f }"},{"line_number":16,"context_line":"    unless rcfile.nil?"},{"line_number":17,"context_line":"      File.open(rcfile).readlines.delete_if{|l| l\u003d~ /^#|^$/ }.each do |line|"},{"line_number":18,"context_line":"        key, value \u003d line.split(\u0027\u003d\u0027)"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"9a1a9d01_5274119b","line":15,"in_reply_to":"9a1a9d01_bf03f60e","updated":"2015-09-25 11:46:33.000000000","message":"I guess this path is ok, please look at https://github.com/stackforge/puppet-openstack/blob/master/manifests/auth_file.pp#L52","commit_id":"e997836e36d908208a25dec3883df259008267cd"},{"author":{"_account_id":9448,"name":"Ivan Ponomarev","email":"iponomarev@mirantis.com","username":"iponomarev"},"change_message_id":"4c75a156722c25cfc7be8fc7ed189c97216e7439","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  def get_os_vars_from_rcfile(filename)"},{"line_number":14,"context_line":"    env \u003d {}"},{"line_number":15,"context_line":"    rcfile \u003d [filename, \u0027/root/openrc\u0027].detect { |f| File.exists? f }"},{"line_number":16,"context_line":"    unless rcfile.nil?"},{"line_number":17,"context_line":"      File.open(rcfile).readlines.delete_if{|l| l\u003d~ /^#|^$/ }.each do |line|"},{"line_number":18,"context_line":"        key, value \u003d line.split(\u0027\u003d\u0027)"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"9a1a9d01_46e21305","line":15,"in_reply_to":"9a1a9d01_bf03f60e","updated":"2015-09-25 13:48:35.000000000","message":"filename is variable it\u0027s not hardcoded. \u0027/root/openrc\u0027 - failover","commit_id":"e997836e36d908208a25dec3883df259008267cd"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"018431501de4a94b2ba20ae625584b5e9eefbe88","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  def get_os_vars_from_rcfile(filename)"},{"line_number":14,"context_line":"    env \u003d {}"},{"line_number":15,"context_line":"    rcfile \u003d [filename, \u0027/root/openrc\u0027].detect { |f| File.exists? f }"},{"line_number":16,"context_line":"    unless rcfile.nil?"},{"line_number":17,"context_line":"      File.open(rcfile).readlines.delete_if{|l| l\u003d~ /^#|^$/ }.each do |line|"},{"line_number":18,"context_line":"        key, value \u003d line.split(\u0027\u003d\u0027)"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"3a29b11f_87f81fe7","line":15,"updated":"2015-10-19 17:16:05.000000000","message":"add please test case, when \u0027filename\u0027 doesn\u0027t exists and will be used \u0027/root/openrc\u0027","commit_id":"2d303dc1129ffc555283e04ea23f1dcbbda4255e"}]}
