Jira (PDB-218) puppetdb-ssl-setup script doesn't allow specifying ssldir

4 views
Skip to first unread message

Christian Fasnacht (JIRA)

unread,
Dec 14, 2016, 6:55:02 AM12/14/16
to puppe...@googlegroups.com
Christian Fasnacht commented on Bug PDB-218
 
Re: puppetdb-ssl-setup script doesn't allow specifying ssldir

Is there a fix for this?
We have a non standard ssldir, so puppetdb ssl-setup doesn't work.
This tool requires the following certificates to exist:

  • /etc/puppetlabs/puppet/ssl/certs/ca.pem
  • /etc/puppetlabs/puppet/ssl/private_keys/fqdn.pem
  • /etc/puppetlabs/puppet/ssl/certs/fqdn.pem
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Russell Mull (JIRA)

unread,
May 17, 2017, 1:15:04 PM5/17/17
to puppe...@googlegroups.com

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:49:19 PM5/18/17
to puppe...@googlegroups.com

SvenVD (Jira)

unread,
Apr 2, 2021, 12:43:03 PM4/2/21
to puppe...@googlegroups.com
SvenVD commented on Bug PDB-218
 
Re: puppetdb-ssl-setup script doesn't allow specifying ssldir

I have the same use case,

We have two puppetservers

puppetserver A on an infra A node, for puppet agents on infra A nodes (with own hiera and puppet code)

puppetserver B on an infra A node, for puppet agents on infra B nodes  (with own hiera and puppet code)

Therefore puppetserver B is configured with a puppet agent connecting to puppetserver A. Because both puppetservers have different CA we separated puppet agent ssldir to /etc/puppetlabs/puppet/ssl.agent/ on puppetserver B.

This works like we want it to work, however during rebuild of puppetserver B we have the issue that puppetdb ssl-setup ( that is executed by the puppet agent during rebuild) copies  puppetserver A ssl stuff coming from /etc/puppetlabs/puppet/ssl.agent/ to puppetdb ssldir.

We need a manual intervention that temporary changes  [agent] ssldir on puppetserver B to /etc/puppetlabs/puppet/ssl before we run puppetdb-sslsetup and afterward we change it back to /etc/puppetlabs/puppet/ssl.agent/ and puppet agent run can be started again

We could automate this if we could override puppetdb sslsetup ssldir where it retrieves the ssl information.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages