Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 7.0.0
-
None
-
Froyo
-
1
-
Froyo - 11/23/2020
-
Automated Test
-
Bug Fix
-
A known issue with Puppet 7.0.0 was that the {{puppet node clean}} action would fail if the user was had their {{cadir}} in the legacy location or inside the {{ssldir}}. This was a regression and it no longer does so.
-
Needs Assessment
Description
In the Puppet Node face's 'clean' action, we load the Puppet Server CA CLI as a library, passing in a 'LoggerIO' object as an adapter between the CA's logging facilities and Puppet's.
Previously, we only needed `inform` and `err` methods to call the relevant APIs in the CA - and it appears our LoggerIO adapter only implements those two methods.
With the new cadir default change (see SERVER-2896) we may `warn` as well which will now cause puppet node clean calls to fail with an undefined method on LoggerIO.
To fix this we should update the LoggerIO adapter to provide all the methods available in the Puppet Server CA's Logger.