)]}'
{"lib/puppet/provider/keystone_user/openstack.rb":[{"author":{"_account_id":9983,"name":"Richard Megginson","email":"rmeggins@redhat.com","username":"rmeggins"},"change_message_id":"9950a9984beced2dba2222fb54a299dd61fa3df5","unresolved":false,"context_lines":[{"line_number":97,"context_line":"            }"},{"line_number":98,"context_line":"          }"},{"line_number":99,"context_line":"        }"},{"line_number":100,"context_line":"        header \u003d `curl -D - -o /dev/null -s -d \u0027#{creds_hash.to_json}\u0027 -H \"Content-type: application/json\" #{auth_params[\u0027auth_url\u0027]}/tokens`"},{"line_number":101,"context_line":"        if header \u003d~ /401 Unauthorized/"},{"line_number":102,"context_line":"          raise(Puppet::Error::OpenstackUnauthorizedError, \"Could not authenticate\")"},{"line_number":103,"context_line":"        end"}],"source_content_type":"text/x-ruby","patch_set":1,"id":"3a961159_245af41d","line":100,"updated":"2015-01-09 01:49:44.000000000","message":"Instead of using curl (which would also add another dependency) why not use the http request module in ruby - see require \u0027net/http\u0027 and require \u0027json\u0027 - https://review.openstack.org/#/c/133601/8/lib/puppet/provider/keystone.rb","commit_id":"549444c483fb9c89fc97e6560307477cb9929f83"}]}
