Project

General

Profile

Actions

Bug #1745

closed

If FQDN for puppetmaster starts with "puppet" Foreman strips the domain.

Added by Brian Gupta almost 12 years ago. Updated over 10 years ago.

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

Description

Historically the reason this is there because many people incidentally signed the certs on their puppet masters with just "puppet", so Ohad put this in as a workaround.

Now that smart-proxy let's one set the "name" of the puppetmaster, I don't think we should be mess with the proxy_puppet or proxy_puppet_ca hostname.

IE: Remove the following code from models/smart_proxy.rb

def to_s
hostname =~ /^puppet\./ ? "puppet" : hostname
end

Thoughts?


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #1060: Problem with puppet-master variableDuplicate07/21/2011Actions
Actions

Also available in: Atom PDF