spec/lib/bolt_spec/bolt_server.rb
# Waits until puppetserver is accepting requests
Waits until puppetserver is accepting requests
Waits until puppetserver is accepting requests
def puppet_server_get(path, params)
      uri = URI("#{config_data['file-server-uri']}#{path}")
      uri.query = URI.encode_www_form(params)
      make_client.request(Net::HTTP::Get.new(uri))
    end
def puppet_server_get ( path , params ) uri = URI ( "#{config_data['file-server-uri']}#{path}" ) uri . query = URI . encode_www_form ( params ) make_client . request ( Net :: HTTP :: Get . new ( uri ) ) end
Waits until puppetserver is accepting requests
Waits until puppetserver is accepting requests
path
<not_specific>
params
<not_specific>