Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
None
-
None
Description
In Puppet 7, we are working to migrate users to a new CA dir location outside of the SSL dir. We want to seamlessly support both halves of this migration, so when computing the settings for the CA CLI tool, the cadir should be the following:
- If the setting is configured to something custom, use that (if it is inside the ssldir warn the with the same message as in Puppet, see
PUP-10720). - If the files are in the old location (/etc/puppetlabs/puppet/ssl/ca), use that but warn with the same messages as in Puppet, see
PUP-10720 - if they're in the new location (/etc/puppetlabs/puppetserver/ca), use that
- if they're in neither location (i.e. we are boostrapping), use the new one.
This logic only applies to Puppet 7, so as part of this work, branch the gem to create a 2.0 version for use with Puppet 7+ only.
Ensure there are meaningful integration tests.
Attachments
Issue Links
- relates to
-
SERVER-2895 Update `puppetserver ca setup` to create CA files in new location w/ symlink
-
- Resolved
-