This message was deleted.
# puppet-enterprise
s
This message was deleted.
t
When I say, `configured in the console, I mean this setting:
compile_master_pool_address
. Follow exactly what the documentation says. I didn't add it to a specific group if I am understanding your question correctly.
Unless, I missed it in the documentation, it doesn't mention to add to any group.
v
documentation says put in a hiera, not in a console, unless I miss something
the only place in console is to define it in some Node group
t
Are you referencing this:
<https://puppet.com/docs/pe/2019.8/installing_compilers.html>
under the Configure compilers section
v
yes, that line says use PE Master group
t
Oh yeah.
That is exactly what I did.
v
and compilers are part of that group?
t
Thanks for the clarification. Yes, under Matching nodes, it shows both the primary server and compiler
v
hmm, it should have updated install script then
did you run puppet agent on compiler?
or primary, for that matter?
t
Yes, I run it on both. This was last week.
v
weird
t
So it has run several times since then
v
Copy code
grep install.bash /opt/puppetlabs/puppet/cache/state/resources.txt
to make sure the script is managed
t
It found this:
file[/opt/puppetlabs/server/data/packages/public/2019.8.11/install.bash]
v
Copy code
grep -A1 puppet_config_set /opt/puppetlabs/server/data/packages/public/2019.8.11/install.bash
t
It found this:
Copy code
puppet_config_set() {
  "${PUPPET_BIN_DIR}/puppet" config set server <http://puppetserver-01.com|puppetserver-01.com> --section main
v
and it's not what you expect?
t
The server there is the primary server not the compiler
v
that should be set to pe_repo value
t
The interesting thing is, in the console, when I go to
Nodes
>
Add nodes
and then
Install agents
The install command provided uses the compiler url not the primary server.
I am totally lost as to why when the agent is installed, it points it to the primary server instead of the compiler when everything is configured per the documentation.
v
for whatever reasons it doesn't think it's a compile master
try to define another setting if you don't mind
Copy code
pe_repo::master:
and set it to the same value as compile_master_pool_address
t
Via the console?
v
yep, same place you set compile_master_pool_address
t
The
pe_repo::master:
value is not available there
Oh, that is under
Classes
and not under
Configuration data
v
whatever works
you can add under data as well
as long as you define both in the same place 🙂
t
So when I select that, it already has this in the field. do I just clear it and input the compiler name there?
Copy code
"pe_compile_master() ? {\n      true  => pe_pick($compile_master_pool_address, $::settings::certname),\n      false => $::settings::certname"
v
correct
it should pick compile_master_pool_address as a first choice, but it doesn't
t
It didn't process any changes after I run puppet on the compiler and primary server. Or will the change just reflect in the installer script?
v
and I don't understand why. it should affect it
t
Yeah, I am at a lost too. Now it is making me wonder how many settings setup in the console haven't been applied.
v
when all else fails - open a support ticket
t
It looks like it.
🙂