-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default puppetmaster is highly unusual #750
Comments
i believe this is the code in question: puppet-puppet/manifests/config.pp Lines 53 to 55 in f63fdaa
|
I think the reason is simply historical. 8dfda8a is the first that did it this way and it looks like we didn't change this (other can coding style) since 2012. I'm open to changing this, but need some time to think about how to best deal with this in our installer. In the short term, I think the best workaround is passing an empty string to the |
This begs the question of why you had to talk to fqdn in the first place...?
For now i passed 'puppet', but i guess that would work as well? |
This module was typically used in an ENC where the puppetmaster was provided. That meant that the fqdn fallback was only used on the master itself. That was used on fresh installs and made a sane default in the bootstrap process. |
well that's the thing - if you do this on the master, the default |
That's not true for most environments we deploy in. The unqualified |
how do nodes find their master then? |
We always provisioned and made sure the correct puppet.conf was set up during kickstart/preseed. Foreman has the correct value. |
I fell in the trap to and did set it to 'puppet' and this works for me as I would expect it. |
I'm late to this discussion, but we avoided this by just enabling SRV records for our domain and setting |
I was surprised to find that this module configures nodes to connect to themselves by default. For example, this configuration:
will (correctly) configure a puppet agent to run on the given node, but will (incorrectly, IMHO) tell it to connect to
$fqdn
. In my case, this yields the error:curie.anarc.at
is my workstation here. it should instead try to connect topuppet
orpuppet.$DOMAIN
which ispuppet.anarc.at
in my case.this change from standard breaks over a decade of convention in the puppet discovery process. i find it quite surprising and can't think of a reason for it.
i believe it should be changed to just nothing: no
server
line should be added topuppet.conf
unless provided by the user, in which case the upstreampuppet agent
defaults will apply (as they should).(mistakenly filed against theforeman/puppet-foreman#864 originally)
The text was updated successfully, but these errors were encountered: