bastelfreak
02/07/2023, 7:13 PMBrian Schonecker
02/07/2023, 7:17 PMBrian Schonecker
02/07/2023, 7:18 PMnatemccurdy
02/07/2023, 7:25 PMSlackbot
02/07/2023, 7:34 PMVesco
02/08/2023, 8:35 AMbastelfreak
02/08/2023, 8:39 AMVesco
02/08/2023, 8:40 AMSlackbot
02/08/2023, 8:46 AMSlackbot
02/08/2023, 8:50 AMbastelfreak
02/08/2023, 8:51 AMSlackbot
02/08/2023, 11:51 AMkrishna kant mishra
02/08/2023, 11:51 AMkrishna kant mishra
02/08/2023, 11:52 AMvchepkov
02/08/2023, 12:00 PMCVQuesty
02/08/2023, 1:56 PMpuppet agent -t --environment win_production.
If you were sing a control_repo, and were classifying nodes to a specific role or grouping of profiles, doing your environmental lookups in Hiera, that would be a better scenario for you.
https://github.com/puppetlabs/control-repo
https://www.puppet.com/docs/pe/2023.0/control_repo.html
https://www.puppet.com/docs/puppet/7/environments_creating.html#env_create
https://www.puppet.com/docs/puppet/7/environments_creating.html
https://www.puppet.com/docs/puppet/7/environment_isolation.html#environment_isolation
https://www.puppet.com/docs/puppet/7/roles_and_profiles_example.htmlCVQuesty
02/08/2023, 1:56 PMpuppet agent -t --environment win_production.
If you were sing a control_repo, and were classifying nodes to a specific role or grouping of profiles, doing your environmental lookups in Hiera, that would be a better scenario for you.
https://github.com/puppetlabs/control-repo
https://www.puppet.com/docs/pe/2023.0/control_repo.html
https://www.puppet.com/docs/puppet/7/environments_creating.html#env_create
https://www.puppet.com/docs/puppet/7/environments_creating.html
https://www.puppet.com/docs/puppet/7/environment_isolation.html#environment_isolation
https://www.puppet.com/docs/puppet/7/roles_and_profiles_example.htmlLes Shiner
02/08/2023, 3:36 PM<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>
I have added that to the dns_alt names of all the compilers. Here is an excerpt from "puppet ssl show" for compiler 1
X509v3 Subject Alternative Name: DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>
you can clearly see that it has 'load.eastus.cloudapp.azure.com' as an alt name
here is my error:
Server hostname '<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>' did not match server certificate; expected one of <http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>Les Shiner
02/08/2023, 3:40 PM<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>
I have added that to the dns_alt names of all the compilers. Here is an excerpt from "puppet ssl show" for compiler 1
X509v3 Subject Alternative Name: DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>
you can clearly see that it has 'load.eastus.cloudapp.azure.com' as an alt name
here is my error:
Server hostname '<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>' did not match server certificate; expected one of <http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>CVQuesty
02/08/2023, 4:04 PMpuppetserver ca list --certname <http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>, what does it give you?Les Shiner
02/08/2023, 4:05 PMCVQuesty
02/08/2023, 4:07 PMLes Shiner
02/08/2023, 4:08 PMCVQuesty
02/08/2023, 4:09 PMCVQuesty
02/08/2023, 4:10 PMserver entry and the ca_server entry.Les Shiner
02/08/2023, 4:10 PMCVQuesty
02/08/2023, 4:10 PMca_server entry will point to the primary server and then the server entry will point to that load balancerLes Shiner
02/08/2023, 4:11 PMCVQuesty
02/08/2023, 4:11 PMca_server ?Les Shiner
02/08/2023, 4:11 PM