Project

General

Profile

Actions

Bug #2568

closed

Foreman Installer node.rb script not working with 1.2

Added by Anonymous almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

in the node.rb, installed by the foreman installer, in def enc(certname)
I had to change the line:
req = Net::HTTP::Get.new(foreman_url)
to:
req = Net::HTTP::Get.new(uri.path + "?" + uri.query)

I'm a little perplexed because the first works with 1.1, but seems to no longer work in 1.2, which makes little sense to me. Not sure if anyone else can reproduce.

Actions

Also available in: Atom PDF