Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Done
-
SERVER 6.5.0
-
-
Froyo
-
2
-
Froyo - 6/30/2021, Froyo - 7/14/2021
-
New Feature
-
The puppetserver-ca CLI tool now can output certificates in a specified format by the user's choice through using the '--format' flag. Current available options are: 'text' (default), 'json'.
-
Needs Assessment
Description
Scenario
We are currently using a puppet bolt script in order to sign CSRs. For now, we are parsing the output of the following command.
puppetserver ca list --all
|
Motivation
Parsing plain text is quite error prone and most likely, if something changes in the output printing, it will fail in the future.
Proposal
It would be good, if the output format of the ca command could be controlled by using a switch such as:
--format json
|
For our use case, json would be completely sufficient.
Notes
The puppetserver-ca-cli already seems to internally work with json and could probably easily just dump it without converting it beforehand.
Attachments
Issue Links
- blocks
-
SERVER-3038 Release puppetserver-ca gem for inclusion in upcoming releases
-
- Resolved
-
- is duplicated by
-
SERVER-2252 Add `--format` flag to `puppetserver ca` cli tool
-
- Closed
-