Simple Role "puppetdb" throws : Server hostname 'puppetserver' did not match server certificate #85
Closed
cozsmin
started this conversation in
Puppet Core
Replies: 4 comments
-
Have put "Packages" and "executed" in code format |
Beta Was this translation helpful? Give feedback.
0 replies
-
Update: tried with "puppet module install puppetlabs-puppetdb" and same result |
Beta Was this translation helpful? Give feedback.
0 replies
-
SOLVED: the contents of my "/etc/hosts" file were: I changed it to : And now it works , holy goddamn $#%& me |
Beta Was this translation helpful? Give feedback.
0 replies
-
@cozsmin than you for following up with the answer :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
OS : almalinux 9.2
Hostname : puppet
Packages :
I have the following scenario:
All paths are relative to "/etc/puppetlabs/code/environments/production"
Executed :
"Puppetfile" contents :
Ran :
/opt/puppetlabs/puppet/bin/r10k puppetfile install -v
"manifests/site.pp" contains :
node 'puppet' { include role::puppet }
"modules/profile/manifests/puppetdb.pp" contains :
"modules/role/manifests/puppet.pp" contains :
When I run "puppet agent -t" on the server , it install the needed packages , but the installation does not finish successfully , as I see this repeating error in the end :
Do I have to set my hostname to "puppetserver" in order for it to work ?
Update:
I have also tried with "puppet module install puppetlabs-puppetdb" with a fresh start , but the same occurs.
Beta Was this translation helpful? Give feedback.
All reactions